04 2014 档案
code wars quiz: toInteger
摘要:Your task is to program a function which converts any input to an integer.Do not perform rounding, the fractional part should simply be discarded.If converting the input to an integer does not make sense (with an object, for instance), the function should return 0 (zero).Also, Math.floor(), parseInt
阅读全文
浙公网安备 33010602011771号