Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
es-abstract /
2015 /
[ HOME SHELL ]
Name
Size
Permission
Action
AbstractEqualityComparison.js
1.13
KB
-rw-r--r--
AbstractRelationalComparison.j...
1.55
KB
-rw-r--r--
AdvanceStringIndex.js
1.27
KB
-rw-r--r--
ArrayCreate.js
1.64
KB
-rw-r--r--
ArraySetLength.js
2.6
KB
-rw-r--r--
ArraySpeciesCreate.js
1.32
KB
-rw-r--r--
Call.js
623
B
-rw-r--r--
CanonicalNumericIndexString.js
654
B
-rw-r--r--
CharacterRange.js
782
B
-rw-r--r--
CompletePropertyDescriptor.js
989
B
-rw-r--r--
CreateDataProperty.js
1.27
KB
-rw-r--r--
CreateDataPropertyOrThrow.js
734
B
-rw-r--r--
CreateHTML.js
927
B
-rw-r--r--
CreateIterResultObject.js
432
B
-rw-r--r--
CreateListFromArrayLike.js
1.32
KB
-rw-r--r--
CreateMethodProperty.js
979
B
-rw-r--r--
DateFromTime.js
1.01
KB
-rw-r--r--
Day.js
234
B
-rw-r--r--
DayFromYear.js
256
B
-rw-r--r--
DayWithinYear.js
286
B
-rw-r--r--
DaysInYear.js
301
B
-rw-r--r--
DefinePropertyOrThrow.js
1.43
KB
-rw-r--r--
DeletePropertyOrThrow.js
699
B
-rw-r--r--
EnumerableOwnNames.js
417
B
-rw-r--r--
FromPropertyDescriptor.js
797
B
-rw-r--r--
Get.js
732
B
-rw-r--r--
GetIterator.js
872
B
-rw-r--r--
GetMethod.js
922
B
-rw-r--r--
GetOwnPropertyKeys.js
817
B
-rw-r--r--
GetPrototypeFromConstructor.js
921
B
-rw-r--r--
GetSubstitution.js
3.44
KB
-rw-r--r--
GetV.js
569
B
-rw-r--r--
HasOwnProperty.js
553
B
-rw-r--r--
HasProperty.js
517
B
-rw-r--r--
HourFromTime.js
382
B
-rw-r--r--
InLeapYear.js
510
B
-rw-r--r--
InstanceofOperator.js
918
B
-rw-r--r--
Invoke.js
715
B
-rw-r--r--
IsAccessorDescriptor.js
465
B
-rw-r--r--
IsArray.js
410
B
-rw-r--r--
IsCallable.js
108
B
-rw-r--r--
IsCompatiblePropertyDescriptor...
367
B
-rw-r--r--
IsConcatSpreadable.js
626
B
-rw-r--r--
IsConstructor.js
1.12
KB
-rw-r--r--
IsDataDescriptor.js
464
B
-rw-r--r--
IsExtensible.js
504
B
-rw-r--r--
IsGenericDescriptor.js
560
B
-rw-r--r--
IsInteger.js
450
B
-rw-r--r--
IsPromise.js
485
B
-rw-r--r--
IsPropertyDescriptor.js
554
B
-rw-r--r--
IsPropertyKey.js
207
B
-rw-r--r--
IsRegExp.js
545
B
-rw-r--r--
IteratorClose.js
1.45
KB
-rw-r--r--
IteratorComplete.js
498
B
-rw-r--r--
IteratorNext.js
493
B
-rw-r--r--
IteratorStep.js
353
B
-rw-r--r--
IteratorValue.js
443
B
-rw-r--r--
MakeDate.js
328
B
-rw-r--r--
MakeDay.js
917
B
-rw-r--r--
MakeTime.js
698
B
-rw-r--r--
MinFromTime.js
396
B
-rw-r--r--
MonthFromTime.js
1014
B
-rw-r--r--
ObjectCreate.js
1.01
KB
-rw-r--r--
OrdinaryCreateFromConstructor....
808
B
-rw-r--r--
OrdinaryDefineOwnProperty.js
2.33
KB
-rw-r--r--
OrdinaryGetOwnProperty.js
1.23
KB
-rw-r--r--
OrdinaryHasInstance.js
627
B
-rw-r--r--
OrdinaryHasProperty.js
531
B
-rw-r--r--
QuoteJSONString.js
1.39
KB
-rw-r--r--
RegExpCreate.js
643
B
-rw-r--r--
RegExpExec.js
887
B
-rw-r--r--
RequireObjectCoercible.js
70
B
-rw-r--r--
SameValue.js
307
B
-rw-r--r--
SameValueZero.js
223
B
-rw-r--r--
SecFromTime.js
402
B
-rw-r--r--
Set.js
1.23
KB
-rw-r--r--
SetFunctionName.js
1.35
KB
-rw-r--r--
SetIntegrityLevel.js
1.81
KB
-rw-r--r--
SpeciesConstructor.js
844
B
-rw-r--r--
SplitMatch.js
874
B
-rw-r--r--
StrictEqualityComparison.js
361
B
-rw-r--r--
StringCreate.js
1.08
KB
-rw-r--r--
StringGetIndexProperty.js
1.34
KB
-rw-r--r--
SymbolDescriptiveString.js
526
B
-rw-r--r--
TestIntegrityLevel.js
1.24
KB
-rw-r--r--
TimeClip.js
468
B
-rw-r--r--
TimeFromYear.js
261
B
-rw-r--r--
TimeWithinDay.js
247
B
-rw-r--r--
ToBoolean.js
130
B
-rw-r--r--
ToDateString.js
498
B
-rw-r--r--
ToInt16.js
260
B
-rw-r--r--
ToInt32.js
173
B
-rw-r--r--
ToInt8.js
247
B
-rw-r--r--
ToInteger.js
273
B
-rw-r--r--
ToLength.js
332
B
-rw-r--r--
ToNumber.js
1.97
KB
-rw-r--r--
ToObject.js
334
B
-rw-r--r--
ToPrimitive.js
287
B
-rw-r--r--
ToPropertyDescriptor.js
1.42
KB
-rw-r--r--
ToPropertyKey.js
405
B
-rw-r--r--
ToString.js
396
B
-rw-r--r--
ToUint16.js
564
B
-rw-r--r--
ToUint32.js
175
B
-rw-r--r--
ToUint8.js
578
B
-rw-r--r--
ToUint8Clamp.js
522
B
-rw-r--r--
Type.js
249
B
-rw-r--r--
ValidateAndApplyPropertyDescri...
5.12
KB
-rw-r--r--
WeekDay.js
208
B
-rw-r--r--
YearFromTime.js
407
B
-rw-r--r--
abs.js
207
B
-rw-r--r--
floor.js
217
B
-rw-r--r--
modulo.js
168
B
-rw-r--r--
msFromTime.js
253
B
-rw-r--r--
thisBooleanValue.js
367
B
-rw-r--r--
thisNumberValue.js
390
B
-rw-r--r--
thisStringValue.js
361
B
-rw-r--r--
thisTimeValue.js
267
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ValidateAndApplyPropertyDescriptor.js
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var DefineOwnProperty = require('../helpers/DefineOwnProperty'); var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); var isSamePropertyDescriptor = require('../helpers/isSamePropertyDescriptor'); var FromPropertyDescriptor = require('./FromPropertyDescriptor'); var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var IsDataDescriptor = require('./IsDataDescriptor'); var IsGenericDescriptor = require('./IsGenericDescriptor'); var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); // https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor // https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { // this uses the ES2017+ logic, since it fixes a number of bugs in the ES2015 logic. var oType = Type(O); if (oType !== 'Undefined' && oType !== 'Object') { throw new $TypeError('Assertion failed: O must be undefined or an Object'); } if (Type(extensible) !== 'Boolean') { throw new $TypeError('Assertion failed: extensible must be a Boolean'); } if (!isPropertyDescriptor({ Type: Type, IsDataDescriptor: IsDataDescriptor, IsAccessorDescriptor: IsAccessorDescriptor }, Desc)) { throw new $TypeError('Assertion failed: Desc must be a Property Descriptor'); } if (Type(current) !== 'Undefined' && !isPropertyDescriptor({ Type: Type, IsDataDescriptor: IsDataDescriptor, IsAccessorDescriptor: IsAccessorDescriptor }, current)) { throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined'); } if (oType !== 'Undefined' && !IsPropertyKey(P)) { throw new $TypeError('Assertion failed: if O is not undefined, P must be a Property Key'); } if (Type(current) === 'Undefined') { if (!extensible) { return false; } if (IsGenericDescriptor(Desc) || IsDataDescriptor(Desc)) { if (oType !== 'Undefined') { DefineOwnProperty( IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, { '[[Configurable]]': Desc['[[Configurable]]'], '[[Enumerable]]': Desc['[[Enumerable]]'], '[[Value]]': Desc['[[Value]]'], '[[Writable]]': Desc['[[Writable]]'] } ); } } else { if (!IsAccessorDescriptor(Desc)) { throw new $TypeError('Assertion failed: Desc is not an accessor descriptor'); } if (oType !== 'Undefined') { return DefineOwnProperty( IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc ); } } return true; } if (IsGenericDescriptor(Desc) && !('[[Configurable]]' in Desc) && !('[[Enumerable]]' in Desc)) { return true; } if (isSamePropertyDescriptor({ SameValue: SameValue }, Desc, current)) { return true; // removed by ES2017, but should still be correct } // "if every field in Desc is absent, return true" can't really match the assertion that it's a Property Descriptor if (!current['[[Configurable]]']) { if (Desc['[[Configurable]]']) { return false; } if ('[[Enumerable]]' in Desc && !Desc['[[Enumerable]]'] === !!current['[[Enumerable]]']) { return false; } } if (IsGenericDescriptor(Desc)) { // no further validation is required. } else if (IsDataDescriptor(current) !== IsDataDescriptor(Desc)) { if (!current['[[Configurable]]']) { return false; } if (IsDataDescriptor(current)) { if (oType !== 'Undefined') { DefineOwnProperty( IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, { '[[Configurable]]': current['[[Configurable]]'], '[[Enumerable]]': current['[[Enumerable]]'], '[[Get]]': undefined } ); } } else if (oType !== 'Undefined') { DefineOwnProperty( IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, { '[[Configurable]]': current['[[Configurable]]'], '[[Enumerable]]': current['[[Enumerable]]'], '[[Value]]': undefined } ); } } else if (IsDataDescriptor(current) && IsDataDescriptor(Desc)) { if (!current['[[Configurable]]'] && !current['[[Writable]]']) { if ('[[Writable]]' in Desc && Desc['[[Writable]]']) { return false; } if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) { return false; } return true; } } else if (IsAccessorDescriptor(current) && IsAccessorDescriptor(Desc)) { if (!current['[[Configurable]]']) { if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) { return false; } if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) { return false; } return true; } } else { throw new $TypeError('Assertion failed: current and Desc are not both data, both accessors, or one accessor and one data.'); } if (oType !== 'Undefined') { return DefineOwnProperty( IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc ); } return true; };
Close