camelCase
The camelCase filter converts underscore_case
(aka “snake case”) to camelCase
.
Examples
foo_bar = baz_qux
# becomes:
var fooBar = bazQux
foo_bar(baz_qux)
# becomes:
fooBar(bazQux)
def foo_bar(baz_qux = nil)
end
# becomes:
function fooBar(bazQux) {
if (typeof bazQux === 'undefined') bazQux = null
}