This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log(1); | |
| (_ => console.log(2))(); | |
| eval('console.log(3);'); | |
| console.log.call(null, 4); | |
| console.log.apply(null, [5]); | |
| new Function('console.log(6)')(); | |
| Reflect.apply(console.log, null, [7]) | |
| Reflect.construct(function(){console.log(8)}, []); | |
| Function.prototype.apply.call(console.log, null, [9]); | |
| Function.prototype.call.call(console.log, null, 10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const getIndex = (th) => Array.from(th.parentElement.children).indexOf(th) | |
| const getChildren = (i) => Array.from(document.querySelectorAll(`td:nth-child(${i + 1})`)) | |
| const setHiddenStyle = (node) => { | |
| node.style.width = '1px' | |
| node.style.overflow = 'hidden' | |
| node.style.overflowWrap = 'normal' | |
| } | |
| const toggleHidden = (node) => { | |
| if (node.style.length) { | |
| node.style = {} |