Sept 23 2014 Meeting Notes
mathiasb at opera.com
Fri Oct 3 06:43:27 PDT 2014
Thanks for once again putting this together, Rick!
On Fri, Oct 3, 2014 at 3:22 PM, Rick Waldron <waldron.rick at gmail.com> wrote:
> ## 4.4 Number('0b0101'). NaN or not?
> (Erik Arvidsson)
> EA: Previous discussion:
> Should `Number` be able to parse the string "0b0" or "0o1"
> (Discussion of people (ab)using Number for converting user input and whether
> this should affect things.)
> #### Conclusion/Resolution
> - Use spec-internal `ToNumber` via userland `Number` called as a function
> will convert (ie `Number('0b101') === 5)`.
> - Upholding previous consensus on `parseInt`
I don’t understand this reasoning. Making `parseInt` understand the
new syntax was considered a security hazard, but for `Number` we can
somehow get away with it? Any more information on the disconnect?
More information about the es-discuss