mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Ensure EXPANDO doesn't disable fast properties in v8.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
PARTIAL_RIGHT_FLAG = 64;
|
||||
|
||||
/** Used as the property name for wrapper metadata */
|
||||
var EXPANDO = '__lodash@' + VERSION + '__';
|
||||
var EXPANDO = '__lodash_' + VERSION.replace(/[-.]/g, '_') + '__';
|
||||
|
||||
/** Used as the TypeError message for "Functions" methods */
|
||||
var FUNC_ERROR_TEXT = 'Expected a function';
|
||||
|
||||
Reference in New Issue
Block a user