function recursivelyUnCacheNode(node) {
  if (typeof node === 'number') {
    // if leaf node (e.g. text node)
    unCacheNode(node);
  } else if (node) {
    unCacheNode(node.nodeId);
    node.childNodes && node.childNodes.forEach(node => recursivelyUnCacheNode(node));
  }
}
/**
 * recursivelyUnCacheNode - delete ViewNode cache recursively
 * @param {ViewNode|number} node
 */
delete ViewNode cache recursively
@param {ViewNode|number} node
delete ViewNode cache recursively @param { ViewNode|number } node
function recursivelyUnCacheNode(node) {
  if (typeof node === 'number') {
    unCacheNode(node);
  } else if (node) {
    unCacheNode(node.nodeId);
    node.childNodes && node.childNodes.forEach(node => recursivelyUnCacheNode(node));
  }
}
function recursivelyUnCacheNode ( node ) { if ( typeof node === 'number' ) { unCacheNode ( node ) ; } else if ( node ) { unCacheNode ( node . nodeId ) ; node . childNodes && node . childNodes . forEach ( node => recursivelyUnCacheNode ( node ) ) ; } }
recursivelyUnCacheNode - delete ViewNode cache recursively
 @param {ViewNode|number} node
recursivelyUnCacheNode - delete ViewNode cache recursively @param { ViewNode|number } node
// if leaf node (e.g. text node)