On Thu, Mar 16, 2017 at 2:03 PM, Ben Newman <[email protected]> wrote:
> Just to check my understanding, would
>
> Boolean.parseBoolean = function (value) {
> return !! (value && JSON.parse(String(value)));
> };
>
> be a reasonable polyfill for your proposed function?
>
>
Yep, this looks good.
Dmitry
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

