code: function(hdata, handler) {
              if (hdata.changeRecords.length) {
                  handler(hdata.changeRecords);
                  hdata.changeRecords = [];
              }
          }
docs: Functions for internal usage 
  Checks if the argument is an Array object. Polyfills Array.isArray.
  @function isArray
  @param {?*} object
  @returns {Boolean}