MCPcopy
hub / github.com/zloirock/core-js / createSetLike

Function createSetLike

tests/compat/tests.js:230–244  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

228}
229
230function createSetLike(size) {
231 return {
232 size: size,
233 has: function () {
234 return false;
235 },
236 keys: function () {
237 return {
238 next: function () {
239 return { done: true };
240 }
241 };
242 }
243 };
244}
245
246function createSetLikeWithInfinitySize(size) {
247 return {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…