Not faster. Allows this to be compiled through closure compiler.


On Thu, Jul 11, 2013 at 5:57 AM, Nick Santos <notifications@github.com>wrote:

> In kew.js:
>
> >    return this
> >  }
> >
> > -Promise.prototype.clearContext = function () {
> > +Promise.prototype['clearContext'] = function () {
>
> ???
>
> I'm suspicious that this would be faster. i'm pretty sure v8 parses these
> to the same underlying opcodes
> https://code.google.com/p/v8/source/browse/trunk/src/parser.cc#3287
> https://code.google.com/p/v8/source/browse/trunk/src/parser.cc#3335
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Obvious/kew/pull/12/files#r5139503>
> .
>