Hmm I think you have those confused. Take the equivalent from Java:
class MyClass { } MyClass x = new MyClass(); Class y = MyClass.class; or JS: var MyClass = function() { /* ctor */ }; var inst = new MyClass() inst != MyClass inst.prototype == MyClass inst is an instance of MyClass (prototype) but not equal to MyClass. What is going on with Numbers is related to boxing, so there is a perfectly fine explanation but that doesn't make it less confusing when you first encounter it. Enough of this, back to topic. Don't extend Native types. ;) /thomas -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.