oakmac / cljs-cheatsheet

a ClojureScript Cheatsheet
https://cljs.info/cheatsheet
MIT License
67 stars 13 forks source link

Add optional '?' to follow the convention #18

Closed jacekschae closed 7 years ago

jacekschae commented 7 years ago

Seems like there is a convention for optional arguments, at least in the defn they are appended with '?'. I also added one sentence about 'init' being 'nil' if not supplied.

oakmac commented 7 years ago

Looks great - thank you!