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