Created
September 19, 2016 22:31
-
-
Save darwin/ed2d6366e44aaea472d9c4f6dc4208e9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| planck 00:30:26 | |
| cljs.user=> (def my-fn (fn [] (js/RegExp. "^prefix\\s+" "gi"))) | |
| #'cljs.user/my-fn | |
| cljs.user=> (.toString my-fn) | |
| "function cljs$user$my_fn(){\nreturn (new RegExp(\"^prefix\\\\s+\",\"gi\"));\n}" | |
| cljs.user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment