mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Add error to encourage users to shim when needed.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user