Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit e3dc142

Browse files
committed
no core vars
1 parent d4bec7b commit e3dc142

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

squint/corpus/no_core_vars.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
;; The expectation is that when bundling this, it will only be a couple of bytes.
44

55
(defn foo []
6-
[])
6+
"hello")
77

8-
(js/console.log (str (foo)))
8+
(js/console.log (foo))

squint/corpus/no_core_vars.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import { vector, str } from 'cherry-cljs/cljs.core.js'
2-
31
function foo () {
42
return (function () {
5-
return vector();
3+
return "hello";
64
})();
75
};
8-
console.log(str(foo()));
6+
console.log(foo());

0 commit comments

Comments
 (0)