Comment
Text written for people reading the code that the JavaScript engine ignores.
What is Comment in JavaScript?
Comment — Text written for people reading the code that the JavaScript engine ignores.
// Keep the original price for the receipt.
const price = 12;
Level: Novice · More JavaScript terms at this level
Updated