node/benchmark/string_creation.js

7 lines
71 B
JavaScript

for (var i = 0; i < 9e7; i++) {
s = '01234567890';
s[1] = "a";
}