We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae4792 commit 80c77a2Copy full SHA for 80c77a2
src/main/clojure/cljs/core.cljc
@@ -965,7 +965,8 @@
965
"Return true if argument exists, analogous to usage of typeof operator
966
in JavaScript."
967
[x]
968
- (let [x (:name (cljs.analyzer/resolve-var &env x))
+ (let [x (cond-> (:name (cljs.analyzer/resolve-var &env x))
969
+ (= "js" (namespace x)) name)
970
segs (string/split (core/str (string/replace x #"\/" ".")) #"\.")
971
n (count segs)
972
syms (map
0 commit comments