odin-js-fundamentals-part-4/node_modules/es-abstract/2021/NormalCompletion.js

10 lines
237 B
JavaScript

'use strict';
var CompletionRecord = require('./CompletionRecord');
// https://262.ecma-international.org/6.0/#sec-normalcompletion
module.exports = function NormalCompletion(value) {
return new CompletionRecord('normal', value);
};