nl_tokens: Internal method determining which type to utilize for a provided value when using extend .
pl_tokens: function typeForExtend ( val ) { // treat unknown types (classes, hopefully?) and functions as objects
   let type = getType ( val ) ; if ( <mask> === types . function || ! typeset . has ( type ) && type && type . constructor ) type = types . object ; return type ; }