InlineJavaScript supports calling methods with multiple parameters of Fixnum (integer), String, Hash, Array or any other class that supports the “.to_json” method (as provided by the “json” gem).
This is an overview of an optimization technique I've been using in JSIL for a while, where you create and update polymorphic inline caches in your JavaScript code at runtime so that it can stay fast ...