diff options
author | 2021-05-09 18:57:48 -0700 | |
---|---|---|
committer | 2021-05-09 18:57:48 -0700 | |
commit | 166c353ddbbd943d1bb49ad7e017a058b8f309ea (patch) | |
tree | ab0c159c5f8b10291cbcb7a265c127045f1f5646 /test.js | |
parent | ae90b3deea27f16c1e9d3d791f1cf21e342e45b5 (diff) | |
download | bun-166c353ddbbd943d1bb49ad7e017a058b8f309ea.tar.gz bun-166c353ddbbd943d1bb49ad7e017a058b8f309ea.tar.zst bun-166c353ddbbd943d1bb49ad7e017a058b8f309ea.zip |
1day
Former-commit-id: b7d8fe2f3501caa236aba343aefa1741613ca005
Diffstat (limited to 'test.js')
-rw-r--r-- | test.js | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/test.js b/test.js deleted file mode 100644 index 25f1a1736..000000000 --- a/test.js +++ /dev/null @@ -1,57 +0,0 @@ -import React from "react"; - -const foo = { - object: { - nested: `foo1`, - }, - bar: 1, - // React: React, -}; - -const arrays = [1, 2, 3, "10", 200n, React.createElement("foo")]; - -function hi() { - console.log("We need to go deeper."); - function hey() { - hi(); - } -} - -class Foo { - get prop() { - return 1; - } - - set prop(v) { - this._v = v; - } - - static staticInstance() { - return "hi"; - } - - static get prop() { - return "yo"; - } - - static set prop(v) { - Foo.v = v; - } - - insance() {} - insanceWithArgs(arg, arg2) {} - insanceWithRestArgs(arg, arg2, ...arg3) {} -} - -try { - console.log("HI"); -} catch (e) { - console.log("HEY", e); -} - -if (true) { - for (let i = 0; i < 100; i++) { - console.log(); - } - console.log("development!"); -} |