MCPcopy
hub / github.com/xyproto/algernon / cloneSet

Function cloneSet

engine/assets/reactrefresh/react-refresh-runtime.js:46–52  ·  view source on GitHub ↗
(set)

Source from the content-addressed store, hash-verified

44 return clone;
45 }
46 function cloneSet(set) {
47 var clone = new Set();
48 set.forEach(function (value) {
49 clone.add(value);
50 });
51 return clone;
52 }
53 function getProperty(object, property) {
54 try {
55 return object[property];

Callers 1

Calls 1

addMethod · 0.45

Tested by

no test coverage detected