vmac.ch
  • Start here
  • Timeline
  • Articles
  • Projects
  • Tools
  • Reading
  • Links
  • About

Javascript

Below you will find pages that mention the tag “javascript”

I’ve created a two dimensional array with const foo = Array(n).fill(Array(n).fill(0)); and when updating foo[1][1] = 2 it changed all cell in column 1.

Why JS, why?!!!.

⤑ Javascript multidimensional array updating specific element.

/link /coding /javascript
10.12.2023 07:25
© vmac.ch 2026 Feeds / Subscribe
last generated: 15.03.2026 13:32