summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/variable-undefined.js
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Tests/variable-undefined.js')
-rw-r--r--Libraries/LibJS/Tests/variable-undefined.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/Libraries/LibJS/Tests/variable-undefined.js b/Libraries/LibJS/Tests/variable-undefined.js
deleted file mode 100644
index 4399d5332d..0000000000
--- a/Libraries/LibJS/Tests/variable-undefined.js
+++ /dev/null
@@ -1,14 +0,0 @@
-test("basic functionality", () => {
- function foo(a) {
- return a;
- }
-
- var x = undefined;
- expect(x).toBeUndefined();
- expect(foo(x)).toBeUndefined();
-
- var o = {};
- o.x = x;
- expect(o.x).toBeUndefined();
- expect(o.x).toBe(x);
-});