So I have a property I want to make alias's for.
var default_commands = {} default_commands['foo'] = "bar"; Then I want a bunch of items to alias to "foo"
So if I wanted
default_commands['fu'] = default_commands['foo']; default_commands['fuu'] = default_commands['foo']; How could I do that so I don't have to write that all out
I tried:
default_commands['fu','fuu'] = default_commands['foo']; But that didn't seem to work.