On Friday, February 13, 2015 at 5:06:31 PM UTC+1, Boris Zbarsky wrote: > On 2/13/15 10:16 AM, Tom Schuster wrote: > > Or just use JS_ObjectIsRegExp :) > > Note that this does not do the same thing as obastemur's proposed API. > Whether it does what he actually wants is an interesting question, of > course. > > -Boris
@jorendorff, thanks for the crystal clear details. @bzbarsky, what do you mean ? i.e. testNativeIsRegExp(/[a-z]/); returns true, which is expected. (SM constructs /[a-z]/ value as RegExpObject) _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals