source: frontend/node_modules/core-js/internals/get-mode-option.js

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

Fix frontend appearance

  • Property mode set to 100644
File size: 292 bytes
Line 
1'use strict';
2var $TypeError = TypeError;
3
4module.exports = function (options) {
5 var mode = options && options.mode;
6 if (mode === undefined || mode === 'shortest' || mode === 'longest' || mode === 'strict') return mode || 'shortest';
7 throw new $TypeError('Incorrect `mode` option');
8};
Note: See TracBrowser for help on using the repository browser.