index.js
function assign(node, token, clone) {
  copy(node, token, clone);
  ensureNodes(node, clone);

  if (token.constructor && token.constructor.name === 'Token') {
    copy(node, token.constructor.prototype, clone);
  }
}
function assign(node, token, clone) {
  copy(node, token, clone);
  ensureNodes(node, clone);

  if (token.constructor && token.constructor.name === 'Token') {
    copy(node, token.constructor.prototype, clone);
  }
}
function assign ( node , token , clone ) { copy ( node , token , clone ) ; ensureNodes ( node , clone ) ; if ( token . constructor && token . constructor . name === 'Token' ) { copy ( node , token . constructor . prototype , clone ) ; } }
assign `token` properties to `node`
assign token properties to node