code: function (key) {
              var ret = pick(this[key], this.element ? this.element.getAttribute(key) : null, 0);
  
              if (/^[\-0-9\.]+$/.test(ret)) { // is numerical
                  ret = parseFloat(ret);
              }
              return ret;
          }
docs: Get the current value of an attribute or pseudo attribute, used mainly
  for animation.