feat(navigation): add prominent validation quickstart action
This commit is contained in:
parent
0bbcaba211
commit
9c6b184e39
28614 changed files with 4356173 additions and 23 deletions
15
validation-suite/frontend/atlas/node_modules/es-abstract/2016/ToString.js
generated
vendored
Normal file
15
validation-suite/frontend/atlas/node_modules/es-abstract/2016/ToString.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'use strict';
|
||||
|
||||
var GetIntrinsic = require('get-intrinsic');
|
||||
|
||||
var $String = GetIntrinsic('%String%');
|
||||
var $TypeError = require('es-errors/type');
|
||||
|
||||
// https://262.ecma-international.org/6.0/#sec-tostring
|
||||
|
||||
module.exports = function ToString(argument) {
|
||||
if (typeof argument === 'symbol') {
|
||||
throw new $TypeError('Cannot convert a Symbol value to a string');
|
||||
}
|
||||
return $String(argument);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue