summaryrefslogtreecommitdiff
path: root/Base/home/anon/js/object-expression.js
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-05 17:25:01 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-05 17:40:47 +0200
commitdb450dbc442d6f727762d76b045e66ef52265a70 (patch)
tree2bb1052b341ee94e5ff844ea082e4c0e48512e93 /Base/home/anon/js/object-expression.js
parentbc615572a9740410dfdcc34fd51ec270cbac846b (diff)
downloadserenity-db450dbc442d6f727762d76b045e66ef52265a70.zip
Base: Move "js" and "little" HackStudio projects into ~/Source/
Diffstat (limited to 'Base/home/anon/js/object-expression.js')
-rw-r--r--Base/home/anon/js/object-expression.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/Base/home/anon/js/object-expression.js b/Base/home/anon/js/object-expression.js
deleted file mode 100644
index 143ece5967..0000000000
--- a/Base/home/anon/js/object-expression.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const a = 1;
-const computedKey = "d";
-const object = {a, b: 2, "c": 3, [computedKey]: 2 + 2};
-const emptyObject = {};
-
-console.log(object.a);
-console.log(object.b);
-console.log(object.c);
-console.log(object.d);
-console.log(emptyObject.foo);