Comments in JavaScript enable the developer to add notes about the script or ''comment out'' sections of script that should not executed by the interpreter. Comments can be single line comments (using the // marker) or multi-line (beginning with /* and ending with */).
 
Comments in JavaScript enable the developer to add notes about the script or ''comment out'' sections of script that should not executed by the interpreter. Comments can be single line comments (using the // marker) or multi-line (beginning with /* and ending with */).
   Exception encountered, of type "Error"
[1b860f6f] /index.php?title=Comments_in_JavaScript&diff=prev&oldid=245 Error from line 434 of /home/techotopia/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /home/techotopia/includes/diff/DairikiDiff.php(544): DiffEngine->diag()
#1 /home/techotopia/includes/diff/DairikiDiff.php(344): DiffEngine->compareSeq()
#2 /home/techotopia/includes/diff/DairikiDiff.php(227): DiffEngine->diffLocal()
#3 /home/techotopia/includes/diff/DairikiDiff.php(721): DiffEngine->diff()
#4 /home/techotopia/includes/diff/DairikiDiff.php(859): Diff->__construct()
#5 /home/techotopia/includes/diff/DairikiDiff.php(980): MappedDiff->__construct()
#6 /home/techotopia/includes/diff/TableDiffFormatter.php(194): WordLevelDiff->__construct()
#7 /home/techotopia/includes/diff/DiffFormatter.php(140): TableDiffFormatter->changed()
#8 /home/techotopia/includes/diff/DiffFormatter.php(111): DiffFormatter->block()
#9 /home/techotopia/includes/diff/DifferenceEngine.php(881): DiffFormatter->format()
#10 /home/techotopia/includes/diff/DifferenceEngine.php(797): DifferenceEngine->generateTextDiffBody()
#11 /home/techotopia/includes/diff/DifferenceEngine.php(728): DifferenceEngine->generateContentDiffBody()
#12 /home/techotopia/includes/diff/DifferenceEngine.php(662): DifferenceEngine->getDiffBody()
#13 /home/techotopia/includes/diff/DifferenceEngine.php(632): DifferenceEngine->getDiff()
#14 /home/techotopia/includes/diff/DifferenceEngine.php(453): DifferenceEngine->showDiff()
#15 /home/techotopia/includes/page/Article.php(797): DifferenceEngine->showDiffPage()
#16 /home/techotopia/includes/page/Article.php(508): Article->showDiffPage()
#17 /home/techotopia/includes/actions/ViewAction.php(44): Article->view()
#18 /home/techotopia/includes/MediaWiki.php(490): ViewAction->show()
#19 /home/techotopia/includes/MediaWiki.php(287): MediaWiki->performAction()
#20 /home/techotopia/includes/MediaWiki.php(714): MediaWiki->performRequest()
#21 /home/techotopia/includes/MediaWiki.php(508): MediaWiki->main()
#22 /home/techotopia/index.php(41): MediaWiki->run()
#23 {main}