code: function mapPrimitiveNodes(arr) {
    for (let i = 0; i < arr.length; ++i) {
      const node = arr[i]
      if (typeof node === 'string' || typeof node === 'number')
        arr[i] = VNode(undefined, undefined, undefined, node)
    }
  }
docs: /*
  Similar to what h() does for its children. We have to do it here ourselves
  when we are passed an Array of Nodes as it didn't go through the h() transformation.
  The operation is mutative, so that the Array of Nodes can later be reused for patching.
  This is consistent with the snabbdom's way.