Answers for "how to comment a template string"

0

how to comment a template string

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)
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language