     return mNodeArray.map({$0 as! Node}) 
   }
 
+  /**
+   * https://dom.spec.whatwg.org/#dom-nodelist-length
+   */
   public var length: ulong {
     return ulong(mNodeArray.count)
   }
 
+  /**
+   * https://dom.spec.whatwg.org/#dom-nodelist-item
+   */
   public func item(index: ulong) -> pNode? {
     if index >= length {
       return nil

 * 
 */

public class NodeList: pNodeList {
  internal var mNodeArray: Array<pNode>


    return mNodeArray[Int(index)]
  }

  /**
   * iterable<Node>
   */
  subscript(index: Int) -> pNode {
    get {
      return mNodeArray[index]
    }
    set(newValue) {
      mNodeArray[index] = newValue
    }
  }

  public init() {
    mNodeArray = []
  }
