diff options
| Commit | b4a6c3d467682d9e0bb73637b9b80a2641a62970 (patch) | |
|---|---|---|
| Author | 2020-10-29 23:12:30 +0200 | |
| Committer | 2020-10-29 23:12:30 +0200 | |
| Files | 1dbb31dace88a39ea215b611e4a9ffa3cbe57388 /JSImpl/examples/code.js | |
| IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.tar IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.tar.gz IPL-b4a6c3d467682d9e0bb73637b9b80a2641a62970.zip | ||
| Parent | b4bb5eb1affcf1bebc779fbfba92cbdf7fe38c8d (diff) | |
Add support for Object literals in the Parser.
1 files changed, 4 insertions, 1 deletions
| -rw-r--r-- | JSImpl/examples/code.js | 5 |
diff --git a/JSImpl/examples/code.js b/JSImpl/examples/code.js index 72b068b..c328d7d 100644 --- a/JSImpl/examples/code.js +++ b/JSImpl/examples/code.js @@ -1,5 +1,8 @@ +--b;
var pesho = 2;
var gosho = 4;
-if (pesho + gosho > 10) {
+var lol = {};
+var lol2 = { a: 2, b: 3 };
+if (10) {
pesho = 5;
}
\ No newline at end of file |
