Call ToNumber on the input argument. Call ToNumber on the input argument. Call ToNumber on the input argument. Note that step 5 is the only difference between ToUint32 and ToInt32. Call ToNumber on the input argument.
Number See discussion below.
Note that k is the number of digits in the decimal representation of s , that s is not divisible by 10, and that the least significant digit of s is not necessarily uniquely determined by these criteria. As noted, the least significant digit of s is not always uniquely determined by the requirements listed in step 5. If there are two such possible values of s , choose the one that is even. While such a strategy is recommended to implementors, the actual rule is somewhat more permissive. Input Type Result Undefined Generate a runtime error.