kurtextrem
indexOf vs contains vs Regex
indexOf vs contains vs Regex...
For of vs For vs For length cached
bind(a) vs bind(null, a) vs bind(undefined, a)
Cloning Array vs Map
Arrow FN vs Bind
Benchmarks arrow fn creation vs binding a function...
Fastest way to insert & loop through Map
fastest loop
explicit undefined === vs. !
Splice vs push
spread vs object.assign
slice if vs replace
in loop vs out loop
instanceof vs new.target
Map/Set for..of vs forEach
pop vs length - 1 vs Array.at(-1)
for vs. Array.from
Object.freeze vs Object.create(null) vs Object.seal
replace vs. replaceAll
unicode vs non-unicode mode regex
destructuring vs assignment
push vs. index vs length
match email regex
regex i vs char class vs iu
ipv4 regex perf
ipv4 SO regex
Reading Text Content + JSON.parse
element.textContent vs createTextNode() / Text.nodeValue...
Reading Text Content
element.textContent vs createTextNode() / Text.nodeValue...
Array creation w/ index
text vs data
eval vs json.parse
Map get vs Map has get
filter.map vs flatMap
string concat
map join vs for
Document.parseHTMLUnsafe vs. DOMParser
obj destructuring vs arr destructuring
html escape
style assign
Object.assign(el.style) vs for..in...