I called out Clojure specifically because of the culture around this specific issue and because of the dispatch design of the multimethods that are present in the standard library and widely favored. Nothing stops you from making dispatch tables or simply switching on a key in JavaScript.
Curious, know little Clojure but isn't "open objects" a Javascript thing too? What is special about Clojure here?