let num = 500;
let nums = [];
for(let i = 0; i < 100; ++i) {
nums.push(5.toString());
}
let num = 500;
let nums = [];
for(let i = 0; i < 100; ++i) {
nums.push("5".toString());
}
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
String() | |
.toString() |
This benchmark does not have any results yet. Be the first one to run it!