fix: properly initialize Infinity and NaN

This commit is contained in:
2023-08-26 11:13:23 +03:00
parent 7b19f7b399
commit 50739de70c
3 changed files with 9 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ public class Main {
public static void main(String args[]) {
var in = new BufferedReader(new InputStreamReader(System.in));
engine = new PolyfillEngine(new File("."));
engine = new TypescriptEngine(new File("."));
var scope = engine.global().globalChild();
var exited = new boolean[1];