Skip to content
web advanced
Main Navigation
指南
JavaScript
CSS
Leetcode
前端
canvas
svg
es6
pwa
v8
webgl
security
类库
nuxt
vite
vue
webpack
后端
node
deno
nginx
actix-web
面试题
Appearance
Return to top
目录
2020 其他面试题常见题
快速创建 100 个 1 的数组
确实没有想到可以 Array(100) 这样使用,[empty × 100]
js
Array
(
100
).
fill
(
1
);