From b4a6c3d467682d9e0bb73637b9b80a2641a62970 Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Thu, 29 Oct 2020 23:12:30 +0200 Subject: Add support for Object literals in the Parser. --- JSImpl/examples/code.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'JSImpl/examples/code.js') 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 -- cgit v1.3.1-23-gd82d