js: Cleanup debug.js example to use ES syntax.

This commit is contained in:
BIraj
2020-03-10 12:49:33 +12:00
committed by Tim Abbott
parent 2000608a9e
commit 60385366f0

View File

@@ -68,7 +68,7 @@ export function check_duplicate_ids() {
*
* Example:
*
* var ip = new debug.IterationProfiler();
* let ip = new debug.IterationProfiler();
* _.each(myarray, function (elem) {
* ip.iteration_start();
*