📜  如何注释模板字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:24.084000             🧑  作者: Mango

代码示例1
const fields = `
  id,${ /* post id */'' }
  message,${ /* post status/message */'' }
  created_time,
  permalink_url,
  type
`;

console.log(fields);

ugly and effective  (like ummm ... some certain programming languages)