Sorry but I didn't understand.
var last = this._actionList[this._actionList.length-1];
Are you saying that there is this syntax?
Or is it something you should put somewhere?
If not, is it just to explain that the selection control has that syntax and gives an error?