source: frontend/node_modules/core-js-pure/internals/install-error-cause.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 404 bytes
Line 
1'use strict';
2var isObject = require('../internals/is-object');
3var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
4
5// `InstallErrorCause` abstract operation
6// https://tc39.es/ecma262/#sec-installerrorcause
7module.exports = function (O, options) {
8 if (isObject(options) && 'cause' in options) {
9 createNonEnumerableProperty(O, 'cause', options.cause);
10 }
11};
Note: See TracBrowser for help on using the repository browser.