What will be the output?
#typescript #javascript #jsquiz #javascriptquestions #programming
#javascriptquiz #typescript #javascript #jsquiz #javascriptquestions #programming
The bad behavior of the past becomes the expected behavior 😂
---
RT @getify
#jsquiz without trying this code, what will it print?
let a = [];
a[3] = 10;
a[5] = 20;
for (let x of a) {
console.log(x);
}
// ??
https://twitter.com/getify/status/1201203738129641473