Comments

更新时间:
复制 MD 格式

SJS uses the same comment syntax as JavaScript. You can add comments to your SJS code as follows:

// page.sjs
// This is a single-line comment
/*
This is a multi-line comment.
All content in between is commented out.
*/
let h = 'hello';
const w = ' alipay';