Skip to content

Commit b70414d

Browse files
authored
Update README.md
1 parent 1af9e91 commit b70414d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This library is a "core" where all the "magic" happens for translating/convertin
66
## Status
77
test262-parser([master](https://github.com/tc39/test262-parser-tests)): Only JS part (code is not public, yet. ES3 implemented) Total tests: 5363 | Passed: 2786 (51 %) | Failed: 2577
88

9-
test262([es5 branch](https://github.com/tc39/test262/tree/es5-tests)): Total tests: 11725 | Passed: 6956 (59 %)** | Failed: 4769
9+
test262([es5 branch](https://github.com/tc39/test262/tree/es5-tests)): Total tests: 11725 | Passed: 7950 (67 %)** | Failed: 3775
1010

1111
**Note: Tests run with "UseVarOverLet" and "DisableCompilationErrors" options, using [Jint](https://github.com/sebastienros/jint) as an engine. The goal is to generate valid C# code and get rid of "DisableCompilationErrors" option.
1212

@@ -19,9 +19,9 @@ FileData file = new()
1919
{
2020
SourceStr = @"Console.WriteLine(""Hello world."");"
2121
};
22-
FileData[] files = CSTOJS.Translate([ file ]);
22+
file = CSTOJS.Translate(file);
2323

24-
Console.WriteLine(files[0].TranslatedStr);
24+
Console.WriteLine(file.TranslatedStr);
2525
```
2626
- Run a program
2727
- Console output should be:

0 commit comments

Comments
 (0)