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
/** Return a unique selector for a specific element. */ | |
let getUniqueSelector = (/** @type {Element} */ element) => { | |
/** Unique selector for this element */ | |
let selector = '' | |
/** @type {Element} */ | |
let parent | |
/** @type {number} */ | |
let nth |
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
/* | |
| bitmask | enumerable | configurable | writable | accessor | | |
| ------- | ---------- | ------------ | -------- | -------- | | |
| 0 | | | | | | |
| 1 | YES | | | | | |
| 2 | | YES | | | | |
| 3 | YES | YES | | | | |
| 4 | | | YES | | | |
| 5 | YES | | YES | | | |
| 6 | | YES | YES | | |
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 LZuint8Array = (function () { | |
/* | |
basic ranges of printable UTF16 values (as found in LZ-string): | |
[32, 127), [160, 55296), [63744, 65536) | |
We also have filter out string characters like: | |
" (34) | |
' (39) | |
` (44) | |
(Forward tick is safe: ´ (96)) | |
So: |
NewerOlder