1 2
assertEq((123456789).toExponential(), "1.23456789e+8"); assertEq((123456789).toExponential(undefined), "1.23456789e+8");