Is there a way to disable a section of script so you can test other sections? I know you can enter "//" but that requires entering at the start of each and every line of code. Is there a way to enter something at the start of a section and the end of that section that would disable it from running?
Solved! Go to Solution.
Views
Replies
Total Likes
To comment out multiple lines in JavaScript use /* and */.
/*
inactive code - Attention: this section must not have comments // included
*/
Views
Replies
Total Likes
To comment out multiple lines in JavaScript use /* and */.
/*
inactive code - Attention: this section must not have comments // included
*/
Views
Replies
Total Likes
Thanks so much!
Views
Replies
Total Likes
Views
Likes
Replies