Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
17
Frontend-Learner/node_modules/on-change/source/smart-clone/methods/map.js
generated
vendored
Normal file
17
Frontend-Learner/node_modules/on-change/source/smart-clone/methods/map.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import isDiffMaps from '../diff/is-diff-maps.js';
|
||||
import {IMMUTABLE_SET_METHODS, COLLECTION_ITERATOR_METHODS} from './set.js';
|
||||
|
||||
const IMMUTABLE_MAP_METHODS = new Set([...IMMUTABLE_SET_METHODS, 'get']);
|
||||
|
||||
export const MUTABLE_MAP_METHODS = {
|
||||
set: isDiffMaps,
|
||||
clear: isDiffMaps,
|
||||
delete: isDiffMaps,
|
||||
forEach: isDiffMaps,
|
||||
};
|
||||
|
||||
export const HANDLED_MAP_METHODS = new Set([
|
||||
...IMMUTABLE_MAP_METHODS,
|
||||
...Object.keys(MUTABLE_MAP_METHODS),
|
||||
...COLLECTION_ITERATOR_METHODS,
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue