const arr = [];
arr.unshift("a");
arr.unshift("b"); console.log(arr);
arr.unshift("a");
arr.unshift("b"); console.log(arr);
Anonymous Quiz
17%
a, b
61%
b, a
22%
[ ]
const arr = ["a", ["b", ["c", {d: "e"}]]];
const output = arr.flat(Infinity).find(elm => elm.d !== undefined);
console.log(output);
const output = arr.flat(Infinity).find(elm => elm.d !== undefined);
console.log(output);
Anonymous Quiz
29%
{ d: "e" }
41%
["a", ["b", ["c", {d: "e"}]]]
12%
e
18%
a, b, c, d, e
let a = 2 + "2";
let b = 2 + 2;
let c = "2" + "2"; if(a===4){ console.log(b); } else{ console.log(c); }
let b = 2 + 2;
let c = "2" + "2"; if(a===4){ console.log(b); } else{ console.log(c); }
Anonymous Quiz
38%
22
31%
4
31%
44
0%
2
Loader4(Bar Loader).zip
1.1 KB
Source code of the latest post from instagram 🙂