Closed JohnBrinkman closed 1 year ago
Currently, toNumber('abc') returns 0, while toNumber(true()) and toNumber(false()) return null toNumber('abc') should return null (with a warning) toNumber(true()) should return 1 toNumber(false()) should return 0
toNumber('abc')
toNumber(true())
toNumber(false())
Currently,
toNumber('abc')
returns 0, whiletoNumber(true())
and toNumber(false()) return nulltoNumber('abc')
should return null (with a warning)toNumber(true())
should return 1toNumber(false())
should return 0