DEV Community

loading...

Discussion on: What's the "//?" in the Code Editor

Collapse
iamjoross profile image
Jose Ross Barredo

// is a symbol for a single-line comment in JavaScript. My best guess is for like line 9, what he is trying to imply is he is adding a short documentation for the expected result.