Add error to encourage users to shim when needed.

This commit is contained in:
John-David Dalton
2016-09-23 14:39:03 -07:00
parent 60381f4d6c
commit ab904a1047

View File

@@ -11144,7 +11144,9 @@
* _.isArray(_.noop);
* // => false
*/
var isArray = Array.isArray;
var isArray = Array.isArray || (Array.isArray = function() {
throw new Error('This method is not supported. Try https://github.com/es-shims.');
});
/**
* Checks if `value` is classified as an `ArrayBuffer` object.