第二题:
return [].map.call(s, (x) => (x * 1)).reduce((x, y) => (x * 10 + y));
第三题:
return arr.map((item) => (item[0].toUpperCase() + item.substring(1).toLowerCase()));
为什么你这么吊
为什么我看完就做不出来。。。这教程真的是针对小白的吗?
Sign in to make a reply
74_sharlock_399
第二题:
第三题: