"use strict" VS setTimeout

Boris Zbarsky bzbarsky at mit.edu
Mon Sep 8 16:42:19 PDT 2014


On 9/8/14, 6:49 PM, Mark S. Miller wrote:
> Let's just be sure that we avoid this mistake when promises grow
> something like Q's Q.delay. Promise.delay? Promise.prototype.delay?

Yes, absolutely.  This is why requestAnimationFrame is specced to pass 
undefined for "this", implementation bugs notwithstanding.

-Boris



More information about the es-discuss mailing list