nl_tokens: If getTrap returns undefined the caller should perform the default forwarding behavior . If getTrap returns normally otherwise the return value will be a callable trap function . When calling the trap function the caller is responsible for binding its |this| to |this . handler| .
pl_tokens: function ( trapName ) { var trap = this . handler [ trapName ] ; if ( trap === undefined ) { // the trap was not defined, // perform the default forwarding behavior return undefined ; } if ( typeof trap !== "function" ) { throw <mask> TypeError ( trapName + " trap is not callable: " + trap ) ; } return trap ; }