20250706 logseq error fix

This commit is contained in:
songyc macbook 2025-07-06 22:28:18 +09:00
parent 37685e3e48
commit 2b5c279c3b

View File

@ -8,12 +8,12 @@ deck:: Logseq/coding tip
const arr = Array.from({length : n}, () => new Array(m).fill(0));
```
- id:: 6867f8fc-3249-4ced-91aa-a2c951c11b0b
2. Array().fill() 사용법 #card
2. Array().fill() 사용법 #card
- ```javascript
const arr = new Array(n).fill().map(() => new Array(m).fill(0));
```
- id:: 6867f8fe-39c6-438b-a045-4f8687ad0b1d
3. 반복문 순회 #card
3. 반복문 순회 #card
- ```javascript
let arr = [];
for(int i=0; i<n; i++){