mirror of https://github.com/zulip/zulip.git
js: Cleanup debug.js example to use ES syntax.
This commit is contained in:
parent
2000608a9e
commit
60385366f0
|
@ -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();
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue