cljs / api

ClojureScript API parser
http://cljs.github.io/api/
MIT License
193 stars 23 forks source link

add Object pseudo-protocol #178

Open shaunlebron opened 5 years ago

shaunlebron commented 5 years ago

It looks like (reify Object (toString [] ...)) is just a way to add functions to a constructor's prototype. I'm tempted to add Object as a syntax entry since it's not a var, but a special symbol shared by extend-type, reify, deftype, etc.