Login
7 branches 0 tags
Ben (Win10) Fixed exception handling and removed [$swap] c2c4991 3 years ago 632 Commits
nujel / benchmark / for / javascript.js
try{
    var consoleLog = print ? print : console.log;
}catch(e){
    var consoleLog = console.log;
} // mujs workaround

var ret = 0;
for(var i=0;i<10000000;i++){
    ret += i;
}
consoleLog("The result is: " + ret);