#javascript
Read more stories on Hashnode
Articles with this tag
Parser(Your shitty code) -> AST Tree (just Nodes[]) Node is an abstract type, implemented by specific child...
https://viblo.asia/p/proper-tree-shaking-with-webpack-2-3P0lPOM4Zox Note: For lodash, syntax matters: import { get } from 'lodash' // doesn't...
"Two-way flow aka data binding binds two pieces of state: in most cases, one inside the controller (e. g. some variable), and one inside the view (e....
this of arrow function is defined by nearest/parent function const obj = { msg: 'hello', // that -> Window b: function () { ...
1st pass: Capturing By default, no event will be fired in this phase. Change this by passing true as 3rd parameter to addEventListener() Parent ...
Warning: Objects will not preserve the insertion order. Use Map instead const obj = {} obj[2] = 'b' obj[4] = 'd' obj[1] = 'a' console.log(obj) -> //...