-
-
Save mneise/9a94f49f2960d5ee1445 to your computer and use it in GitHub Desktop.
If with constant or vector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns cljs-constants.core) | |
(if (= 2 2) 1 2) | |
(if (= 2 2) [1] [2]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compiled by ClojureScript 1.7.170 {} | |
goog.provide('cljs_constants.core'); | |
goog.require('cljs.core'); | |
if(cljs.core._EQ_.call(null,(2),(2))){ | |
} else { | |
} | |
if(cljs.core._EQ_.call(null,(2),(2))){ | |
new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [(1)], null); | |
} else { | |
new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [(2)], null); | |
} | |
//# sourceMappingURL=core.js.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment