Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/helpers/isSamePropertyDescriptor.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js
-
curl -L -o isSamePropertyDescriptor.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js
389 Bytes
| ; | |
| var every = require('./every'); | |
| module.exports = function isSamePropertyDescriptor(ES, D1, D2) { | |
| var fields = [ | |
| '[[Configurable]]', | |
| '[[Enumerable]]', | |
| '[[Get]]', | |
| '[[Set]]', | |
| '[[Value]]', | |
| '[[Writable]]' | |
| ]; | |
| return every(fields, function (field) { | |
| if ((field in D1) !== (field in D2)) { | |
| return false; | |
| } | |
| return ES.SameValue(D1[field], D2[field]); | |
| }); | |
| }; | |