3 ms·
So how do you add a comment in the middle of an array?
by thayne 2y ago
So how do you add a comment in the middle of an array?
- oneeyedpigeon 2y agoHow do you add a comment in the middle of a keyword in JavaScript?
- jefftk 2y agoI often want to comment individual array values to give more context or describe provenance. I don't think I've ever wanted to add a comment in the middle of a keyword.
- CharlieDigital 2y agoThese two are not remotely the same thing. You can have an array declared on multiple lines and add a comment to specific values. Or even inline with the value /* */.