David Walsh has kept us informed in his post about the delete key event.
To detect the delete key, this does not work because \’delete\’ is a reserved word in javascript:
var isdel = Event.Keys.delete;
So here is the proper way:
var isdel = Event.Keys[\'delete\'];
He put it best:
As flexible as Moo’s language is, you can’t get around the reserved words!
Great job on keeping the MooTools community well informed, David!