1 When an empty string was explicitly casted to a number through `+` or 2 implicitly through numerical calculations, it was incorrectly treated 3 as `NaN` and not `0`. 4 5 -- Testcase -- 6 {{ +"" }} 7 {{ "" + 0 }} 8 {{ "" - 0.0 }} 9 -- End -- 10 11 -- Expect stdout -- 12 0 13 0 14 0 15 -- End --
This page was automatically generated by LXR 0.3.1. • OpenWrt