function isArrayBuffer(val) {
  return toString.call(val) === '[object ArrayBuffer]';
}
Determine if a value is an ArrayBuffer

@param {Object} val The value to test
@returns {boolean} True if value is an ArrayBuffer, otherwise false