mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
Add benchmarks
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function add_one(x) {
|
||||
return x + 1;
|
||||
}
|
||||
let i = 0;
|
||||
while (i < 60000) {
|
||||
i = add_one(i);
|
||||
}
|
||||
console.log(i);
|
||||
Reference in New Issue
Block a user