Skip to content ?? vs || A simplest suite 0 params, 2 cases Array sort algorithms Built-in sort() is slower than your quick sort 2 params, 6 cases Cartesian Product libraries How to import npm packages in playground 2 params, 6 cases Asymptotic Complexity Calculate the Big-O time complexity of functions 6 params, 5 cases setTimeout Throttling Find the minimum interval of setTimeout 11 params, 1 cases Read with CPU Cache CPUs use is the L1/L2/L3 caches: those are like faster RAMs 0 params, 4 cases URL.canParse How much faster is it than try-catch? 9 params, 2 cases Combine strings Is using + to concatenate strings bad? 2 params, 2 cases Loop with try-catch Does try-catch block affect performance? 0 params, 2 cases Deep clone serializable object 0 params, 4 cases Array.includes vs Set.has How much faster is querying a collection than an array? 4 params, 4 cases Fill array with size vs without size Does initial size makes array faster? 2 params, 4 cases Sum using for-loop vs Array.reduce Do for-of and Array.reduce() have performance overheads? 3 params, 3 cases Iterate object entries How well the engine optimizes object literals? 2 params, 3 cases CSS Selector: attribute vs class 0 params, 2 cases replaceChildren vs append 0 params, 3 cases