nl_tokens: Wraps the given function so that the history log is saved when it is called and then the given function is run
pl_tokens: function wrapFn ( mocker , fn ) { return function ( ) { //Copy the arguments this function was called with var args = Array . prototype . <mask> . call ( arguments ) ; //Save the arguments to the log mocker . history . push ( args ) ; return fn . apply ( this , arguments ) ; } ; }