Test Your JavaScript Skills : ES10 (JavaScript 2019) - 42
Introduction
Namaste, In this blog I will discuss 8 code scenarios on Javascript .
Identify the output of the below program
let nestedArray = [1, [2, [3]]];
const flattened = nestedArray.flat(2);
console.log(flattened);
a. Object
b.[1, [2, [3]...
mahavir.hashnode.dev2 min read