I'm working on debugging some code someone else wrote (using Mootools as the base library), and I came across this function:
[note, $H(options.text).getKeys()].flatten().each(function(option){
// bunch of stuff happening
});
I've never seen this syntax before, with the brackets and the $H notation (eg. [note, $H(options.text).getKeys()]
). Can anyone explain how that works or point me to a reference on it?
Thanks!