How to comment ejs code ( JS node)

 https://stackoverflow.com/questions/29180611/how-to-comment-ejs-code-js-node


There is two solutions:

  • <%# comment %> ( it's from documentation )
  • <%/* comment */%> ( it works too but it's pretty ugly and uncomfortable for use )

Không có nhận xét nào:

api feed with published=false?

  Câu trả lời ngắn gọn là: CÓ . Trên thực tế, đây chính là cách chuẩn nhất để tạo các bài viết chưa hiển thị công khai (bao gồm Bản nháp, B...