Description[builtins] Drop useless ToBoolean JavaScript builtin.
There's no need for a dedicated ToBoolean builtin in JavaScript, since
ToBoolean(x) can easily be expressed in JavaScript as !!x, which has the
additional advantage that the compilers are able to properly optimize
that (out of the box).
Committed: https://crrev.com/519f215137659077c7649e496ced5be516685932
Cr-Commit-Position: refs/heads/master@{#31172}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Adding ( ) to macros.py. #
Messages
Total messages: 8 (2 generated)
|