mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Cleanup built-in constructor modules.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import getNative from './_getNative.js';
|
||||
import root from './_root.js';
|
||||
|
||||
/* Built-in method references that are verified to be native. */
|
||||
const DataView = getNative(root, 'DataView');
|
||||
|
||||
export default DataView;
|
||||
|
||||
1
_Map.js
1
_Map.js
@@ -1,7 +1,6 @@
|
||||
import getNative from './_getNative.js';
|
||||
import root from './_root.js';
|
||||
|
||||
/* Built-in method references that are verified to be native. */
|
||||
const Map = getNative(root, 'Map');
|
||||
|
||||
export default Map;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import getNative from './_getNative.js';
|
||||
import root from './_root.js';
|
||||
|
||||
/* Built-in method references that are verified to be native. */
|
||||
const Promise = getNative(root, 'Promise');
|
||||
|
||||
export default Promise;
|
||||
|
||||
1
_Set.js
1
_Set.js
@@ -1,7 +1,6 @@
|
||||
import getNative from './_getNative.js';
|
||||
import root from './_root.js';
|
||||
|
||||
/* Built-in method references that are verified to be native. */
|
||||
const Set = getNative(root, 'Set');
|
||||
|
||||
export default Set;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
import root from './_root.js';
|
||||
|
||||
/** Built-in value references. */
|
||||
const Symbol = root.Symbol;
|
||||
|
||||
export default Symbol;
|
||||
export default root.Symbol;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
import root from './_root.js';
|
||||
|
||||
/** Built-in value references. */
|
||||
const Uint8Array = root.Uint8Array;
|
||||
|
||||
export default Uint8Array;
|
||||
export default root.Uint8Array;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import getNative from './_getNative.js';
|
||||
import root from './_root.js';
|
||||
|
||||
/* Built-in method references that are verified to be native. */
|
||||
const WeakMap = getNative(root, 'WeakMap');
|
||||
|
||||
export default WeakMap;
|
||||
|
||||
Reference in New Issue
Block a user