Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2017/GetV.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2017/GetV.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2017/GetV.js
-
curl -L -o GetV.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2017/GetV.js
536 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| var inspect = require('object-inspect'); | |
| var IsPropertyKey = require('./IsPropertyKey'); | |
| // var ToObject = require('./ToObject'); | |
| // https://262.ecma-international.org/6.0/#sec-getv | |
| module.exports = function GetV(V, P) { | |
| // 7.3.2.1 | |
| if (!IsPropertyKey(P)) { | |
| throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P)); | |
| } | |
| // 7.3.2.2-3 | |
| // var O = ToObject(V); | |
| // 7.3.2.4 | |
| return V[P]; | |
| }; | |