title: SVG numberOfItems property not working
body: <p>Our website suddenly stopped working on Chrome (just chrome) after the latest update... </p>
  
  <p>The error given is </p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'numberOfItems' of undefined
  </code></pre>
  
  <p>This is where the numberOfItems property is used:</p>
  
  <pre><code>// Absolutize and parse path to array
    , parse: function(array) {
        /* if it's already is a patharray, no need to parse it */
        if (array instanceof SVG.PathArray) return array.valueOf()
  
        /* prepare for parsing */
        var i, il, x0, y0, x1, y1, x2, y2, s, seg, segs
          , x = 0
          , y = 0
  
        /* populate working path */
        SVG.parser.path.setAttribute('d', typeof array === 'string' ? array : arrayToString(array))
  
        /* get segments */
        segs = SVG.parser.path.pathSegList
  
  
        for (i = 0, il = segs.numberOfItems; i &lt; il; ++i) {
          seg = segs.getItem(i)
          s = seg.pathSegTypeAsLetter
  etc. (I didn't put the whole loop)
  </code></pre>
  
  <p>Why did SVG and Javascript stop being able to read this property after the latest Chrome update? What could be a good fix?</p>
  
  <p>Thanks!!</p>