Rico

Results 6 comments of Rico

上代码 ```javascript function add(str1, str2) { let result = '' let tempVal = 0 let arr1 = str1.split('') let arr2 = str2.split('') while (arr1.length || arr2.length || tempVal) { tempVal...

> Is there any answer to this? Not yet

向上取整可以 `~~3.14 + 1` 或者`(3.14 | 0) + 1`

作者想说的应该是`Math.floor`