Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lt-cljs-tutorial.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,14 @@ a-list
;; The only false-y values in ClojureScript are `nil` and `false`. `undefined`
;; is not really a valid ClojureScript value and is generally coerced to `nil`.

(if nil
"Yuck"
"`nil` is one of the two false-y values in ClojureScript.")

(if false
"Yuck."
"false is the other false-y value.")


;; cond
;; ----------------------------------------------------------------------------
Expand Down