1 Ensure that numeric strings followed by non-whitespace are treated as NaN. 2 3 -- Testcase -- 4 {% 5 printf("%.J\n", [ 6 "1" == 1, 7 " 1" == 1, 8 "1 " == 1, 9 "1a" == 1, 10 "1 a" == 1 11 ]); 12 %} 13 -- End -- 14 15 -- Expect stdout -- 16 [ 17 true, 18 true, 19 true, 20 false, 21 false 22 ] 23 -- End --
This page was automatically generated by LXR 0.3.1. • OpenWrt