PromoCursed/node_modules/core-js/internals/create-iter-result-object.js

7 lines
200 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
'use strict';
// `CreateIterResultObject` abstract operation
// https://tc39.es/ecma262/#sec-createiterresultobject
module.exports = function (value, done) {
return { value: value, done: done };
};