code: function findNodes(body, nodeName) {
    let nodesArray = [];
  
    if (body) {
      nodesArray = body.filter(node => node.type === nodeName);
    }
  
    return nodesArray;
  }
docs: Find nodes of given name
  
  @param  {Node[]} body Array of nodes
  @param  {String} nodeName
  @return {Node[]}