Run GitHub Actions 2x faster at half the cost.
CHALLENGE ❓
const array = [1, 2, 3];
const result = array.map(function(n) {
return this ? n : 0;
}, false);
console.log(result);
JA JavaScript @javascript · 31K subscribers
const array = [1, 2, 3];
const result = array.map(function(n) {
return this ? n : 0;
}, false);
console.log(result);