Hello
In Clojure, I can do:
(parents String)
; #{java.lang.constant.ConstantDesc java.lang.Object java.lang.CharSequence java.io.Serializable java.lang.constant.Constable java.lang.Comparable}
But in ClojureScript:
(parents js/String)
; nil
ClojureScript's parents doc does mention "JavaScript type inheritance":
Returns the immediate parents of tag, either via a JavaScript type
inheritance relationship or a relationship established via derive. h
must be a hierarchy obtained from make-hierarchy, if not supplied
defaults to the global hierarchy
Is there something wrong with the syntax I used?
Is parents really supposed to work with JavaScript inheritance on ClojureScript?