Hacker News new | ask | show | jobs
by shadowgovt 1709 days ago
Correct. This is a thing you can do in JavaScript (and TypeScript) that sometimes trips new people up but is exactly what these keywords mean:

  const foo = [];
  foo.push(1,2,3);