mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +00:00
Add error to encourage users to shim when needed.
This commit is contained in:
@@ -11144,7 +11144,9 @@
|
|||||||
* _.isArray(_.noop);
|
* _.isArray(_.noop);
|
||||||
* // => false
|
* // => 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.
|
* Checks if `value` is classified as an `ArrayBuffer` object.
|
||||||
|
|||||||
Reference in New Issue
Block a user