Javascript is a synchronous single-threaded language meaning that javascript codes execute one (command) at a time and one after another.
let obj = Object.freeze({});
obj.num = 76;
console.log(obj.num);
obj.num = 76;
console.log(obj.num);
Anonymous Quiz
29%
undefined
29%
76
35%
Null
6%
Error
index.html
1.3 KB
Source code for animated share button posted recently on Instagram
What is the HTML tag under which one can write the JavaScript code?
Anonymous Quiz
18%
javascript
59%
script
21%
js
3%
main
Forwarded from Coding Omega
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
Learn to make this loader
Watch it here: https://youtu.be/TuqwpgW6RdY
Watch it here: https://youtu.be/TuqwpgW6RdY
YouTube
Dot Loader - CSS Loading Animation Series | Part 2