Benchmark name | When Created |
---|---|
Square Every Digit, but with toString()
Welcome. In this kata, you are asked to square every digit of a number and concatenate them. For example, if we run 9119 through the function, 811181 will come out, because 92 is 81 and 12 is 1. Note: The function accepts an integer and returns an integer |
one year ago |
Square Every Digit (most popular solution on code wars)
Welcome. In this kata, you are asked to square every digit of a number and concatenate them. For example, if we run 9119 through the function, 811181 will come out, because 92 is 81 and 12 is 1. Note: The function accepts an integer and returns an integer |
one year ago |
Square Every Digit
Welcome. In this kata, you are asked to square every digit of a number and concatenate them. For example, if we run 9119 through the function, 811181 will come out, because 92 is 81 and 12 is 1. Note: The function accepts an integer and returns an integer |
one year ago |
pop vs index | one year ago |
DOM: Best practices for creating, then adding elements | one year ago |
JavaScript: clamp() variants | one year ago |
asjdkhfgasdukyfgasdkufghjasdjhfgasjfhgasdfasjhdgkcf | one year ago |
test Array.from vs Spread vs Slice vs new vs filter | one year ago |
Function override vs assignment | one year ago |
Battle of the bools | one year ago |
Booean coercion vs Boolejan coercion vs Boolejan 2 coercion | one year ago |
Booean coercion vs Boolejan coercion | one year ago |
Spread vs Object.assign vs assigning with Object.keys | one year ago |
arrays comparision
arrays comparision |
one year ago |
Double bang vs Boolean | one year ago |
InstanceOf vs String Const Check | one year ago |
Direct call vs bind vs call vs apply without alloc 2 | one year ago |
Direct call vs bind vs call vs apply without alloc | one year ago |
JavaScript Array concat vs spread vs push | one year ago |
Object.entries VS Object.keys VS Object.keys with extra array VS Object.entries without array SG | one year ago |
Array.from()[0] vs Set.entries().next().value | one year ago |
slice VS splice VS shift: who is the fastest to keep constant size 100
100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower |
one year ago |
set.has vs. array.includes - 1000 UUIDs | one year ago |
chainedvsfor | one year ago |
For in vs Object.*.forEach vs Object.values vs for of Object.entries | one year ago |