第 101 题:修改以下 print 函数,使之输出 0 到 99,或者 99 到 0

要求:

1、只能修改 setTimeout` 到 `Math.floor(Math.random() * 1000 的代码

2、不能修改 Math.floor(Math.random() * 1000

3、不能使用全局变量

答案解析:github.com
展开
程序员依扬于2019-07-09 01:37发布的图片
6