9 ms·
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 = []
by shadowgovt 5y 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);