Best JavaScript code snippet using wpt
uppercase.js
Source:uppercase.js
1"use strict";2Object.defineProperty(exports, "__esModule", {3 value: true4});5Object.defineProperty(exports, "ArrayExpression", {6 enumerable: true,7 get: function () {8 return _index.arrayExpression;9 }10});11Object.defineProperty(exports, "AssignmentExpression", {12 enumerable: true,13 get: function () {14 return _index.assignmentExpression;15 }16});17Object.defineProperty(exports, "BinaryExpression", {18 enumerable: true,19 get: function () {20 return _index.binaryExpression;21 }22});23Object.defineProperty(exports, "InterpreterDirective", {24 enumerable: true,25 get: function () {26 return _index.interpreterDirective;27 }28});29Object.defineProperty(exports, "Directive", {30 enumerable: true,31 get: function () {32 return _index.directive;33 }34});35Object.defineProperty(exports, "DirectiveLiteral", {36 enumerable: true,37 get: function () {38 return _index.directiveLiteral;39 }40});41Object.defineProperty(exports, "BlockStatement", {42 enumerable: true,43 get: function () {44 return _index.blockStatement;45 }46});47Object.defineProperty(exports, "BreakStatement", {48 enumerable: true,49 get: function () {50 return _index.breakStatement;51 }52});53Object.defineProperty(exports, "CallExpression", {54 enumerable: true,55 get: function () {56 return _index.callExpression;57 }58});59Object.defineProperty(exports, "CatchClause", {60 enumerable: true,61 get: function () {62 return _index.catchClause;63 }64});65Object.defineProperty(exports, "ConditionalExpression", {66 enumerable: true,67 get: function () {68 return _index.conditionalExpression;69 }70});71Object.defineProperty(exports, "ContinueStatement", {72 enumerable: true,73 get: function () {74 return _index.continueStatement;75 }76});77Object.defineProperty(exports, "DebuggerStatement", {78 enumerable: true,79 get: function () {80 return _index.debuggerStatement;81 }82});83Object.defineProperty(exports, "DoWhileStatement", {84 enumerable: true,85 get: function () {86 return _index.doWhileStatement;87 }88});89Object.defineProperty(exports, "EmptyStatement", {90 enumerable: true,91 get: function () {92 return _index.emptyStatement;93 }94});95Object.defineProperty(exports, "ExpressionStatement", {96 enumerable: true,97 get: function () {98 return _index.expressionStatement;99 }100});101Object.defineProperty(exports, "File", {102 enumerable: true,103 get: function () {104 return _index.file;105 }106});107Object.defineProperty(exports, "ForInStatement", {108 enumerable: true,109 get: function () {110 return _index.forInStatement;111 }112});113Object.defineProperty(exports, "ForStatement", {114 enumerable: true,115 get: function () {116 return _index.forStatement;117 }118});119Object.defineProperty(exports, "FunctionDeclaration", {120 enumerable: true,121 get: function () {122 return _index.functionDeclaration;123 }124});125Object.defineProperty(exports, "FunctionExpression", {126 enumerable: true,127 get: function () {128 return _index.functionExpression;129 }130});131Object.defineProperty(exports, "Identifier", {132 enumerable: true,133 get: function () {134 return _index.identifier;135 }136});137Object.defineProperty(exports, "IfStatement", {138 enumerable: true,139 get: function () {140 return _index.ifStatement;141 }142});143Object.defineProperty(exports, "LabeledStatement", {144 enumerable: true,145 get: function () {146 return _index.labeledStatement;147 }148});149Object.defineProperty(exports, "StringLiteral", {150 enumerable: true,151 get: function () {152 return _index.stringLiteral;153 }154});155Object.defineProperty(exports, "NumericLiteral", {156 enumerable: true,157 get: function () {158 return _index.numericLiteral;159 }160});161Object.defineProperty(exports, "NullLiteral", {162 enumerable: true,163 get: function () {164 return _index.nullLiteral;165 }166});167Object.defineProperty(exports, "BooleanLiteral", {168 enumerable: true,169 get: function () {170 return _index.booleanLiteral;171 }172});173Object.defineProperty(exports, "RegExpLiteral", {174 enumerable: true,175 get: function () {176 return _index.regExpLiteral;177 }178});179Object.defineProperty(exports, "LogicalExpression", {180 enumerable: true,181 get: function () {182 return _index.logicalExpression;183 }184});185Object.defineProperty(exports, "MemberExpression", {186 enumerable: true,187 get: function () {188 return _index.memberExpression;189 }190});191Object.defineProperty(exports, "NewExpression", {192 enumerable: true,193 get: function () {194 return _index.newExpression;195 }196});197Object.defineProperty(exports, "Program", {198 enumerable: true,199 get: function () {200 return _index.program;201 }202});203Object.defineProperty(exports, "ObjectExpression", {204 enumerable: true,205 get: function () {206 return _index.objectExpression;207 }208});209Object.defineProperty(exports, "ObjectMethod", {210 enumerable: true,211 get: function () {212 return _index.objectMethod;213 }214});215Object.defineProperty(exports, "ObjectProperty", {216 enumerable: true,217 get: function () {218 return _index.objectProperty;219 }220});221Object.defineProperty(exports, "RestElement", {222 enumerable: true,223 get: function () {224 return _index.restElement;225 }226});227Object.defineProperty(exports, "ReturnStatement", {228 enumerable: true,229 get: function () {230 return _index.returnStatement;231 }232});233Object.defineProperty(exports, "SequenceExpression", {234 enumerable: true,235 get: function () {236 return _index.sequenceExpression;237 }238});239Object.defineProperty(exports, "ParenthesizedExpression", {240 enumerable: true,241 get: function () {242 return _index.parenthesizedExpression;243 }244});245Object.defineProperty(exports, "SwitchCase", {246 enumerable: true,247 get: function () {248 return _index.switchCase;249 }250});251Object.defineProperty(exports, "SwitchStatement", {252 enumerable: true,253 get: function () {254 return _index.switchStatement;255 }256});257Object.defineProperty(exports, "ThisExpression", {258 enumerable: true,259 get: function () {260 return _index.thisExpression;261 }262});263Object.defineProperty(exports, "ThrowStatement", {264 enumerable: true,265 get: function () {266 return _index.throwStatement;267 }268});269Object.defineProperty(exports, "TryStatement", {270 enumerable: true,271 get: function () {272 return _index.tryStatement;273 }274});275Object.defineProperty(exports, "UnaryExpression", {276 enumerable: true,277 get: function () {278 return _index.unaryExpression;279 }280});281Object.defineProperty(exports, "UpdateExpression", {282 enumerable: true,283 get: function () {284 return _index.updateExpression;285 }286});287Object.defineProperty(exports, "VariableDeclaration", {288 enumerable: true,289 get: function () {290 return _index.variableDeclaration;291 }292});293Object.defineProperty(exports, "VariableDeclarator", {294 enumerable: true,295 get: function () {296 return _index.variableDeclarator;297 }298});299Object.defineProperty(exports, "WhileStatement", {300 enumerable: true,301 get: function () {302 return _index.whileStatement;303 }304});305Object.defineProperty(exports, "WithStatement", {306 enumerable: true,307 get: function () {308 return _index.withStatement;309 }310});311Object.defineProperty(exports, "AssignmentPattern", {312 enumerable: true,313 get: function () {314 return _index.assignmentPattern;315 }316});317Object.defineProperty(exports, "ArrayPattern", {318 enumerable: true,319 get: function () {320 return _index.arrayPattern;321 }322});323Object.defineProperty(exports, "ArrowFunctionExpression", {324 enumerable: true,325 get: function () {326 return _index.arrowFunctionExpression;327 }328});329Object.defineProperty(exports, "ClassBody", {330 enumerable: true,331 get: function () {332 return _index.classBody;333 }334});335Object.defineProperty(exports, "ClassExpression", {336 enumerable: true,337 get: function () {338 return _index.classExpression;339 }340});341Object.defineProperty(exports, "ClassDeclaration", {342 enumerable: true,343 get: function () {344 return _index.classDeclaration;345 }346});347Object.defineProperty(exports, "ExportAllDeclaration", {348 enumerable: true,349 get: function () {350 return _index.exportAllDeclaration;351 }352});353Object.defineProperty(exports, "ExportDefaultDeclaration", {354 enumerable: true,355 get: function () {356 return _index.exportDefaultDeclaration;357 }358});359Object.defineProperty(exports, "ExportNamedDeclaration", {360 enumerable: true,361 get: function () {362 return _index.exportNamedDeclaration;363 }364});365Object.defineProperty(exports, "ExportSpecifier", {366 enumerable: true,367 get: function () {368 return _index.exportSpecifier;369 }370});371Object.defineProperty(exports, "ForOfStatement", {372 enumerable: true,373 get: function () {374 return _index.forOfStatement;375 }376});377Object.defineProperty(exports, "ImportDeclaration", {378 enumerable: true,379 get: function () {380 return _index.importDeclaration;381 }382});383Object.defineProperty(exports, "ImportDefaultSpecifier", {384 enumerable: true,385 get: function () {386 return _index.importDefaultSpecifier;387 }388});389Object.defineProperty(exports, "ImportNamespaceSpecifier", {390 enumerable: true,391 get: function () {392 return _index.importNamespaceSpecifier;393 }394});395Object.defineProperty(exports, "ImportSpecifier", {396 enumerable: true,397 get: function () {398 return _index.importSpecifier;399 }400});401Object.defineProperty(exports, "MetaProperty", {402 enumerable: true,403 get: function () {404 return _index.metaProperty;405 }406});407Object.defineProperty(exports, "ClassMethod", {408 enumerable: true,409 get: function () {410 return _index.classMethod;411 }412});413Object.defineProperty(exports, "ObjectPattern", {414 enumerable: true,415 get: function () {416 return _index.objectPattern;417 }418});419Object.defineProperty(exports, "SpreadElement", {420 enumerable: true,421 get: function () {422 return _index.spreadElement;423 }424});425Object.defineProperty(exports, "Super", {426 enumerable: true,427 get: function () {428 return _index.super;429 }430});431Object.defineProperty(exports, "TaggedTemplateExpression", {432 enumerable: true,433 get: function () {434 return _index.taggedTemplateExpression;435 }436});437Object.defineProperty(exports, "TemplateElement", {438 enumerable: true,439 get: function () {440 return _index.templateElement;441 }442});443Object.defineProperty(exports, "TemplateLiteral", {444 enumerable: true,445 get: function () {446 return _index.templateLiteral;447 }448});449Object.defineProperty(exports, "YieldExpression", {450 enumerable: true,451 get: function () {452 return _index.yieldExpression;453 }454});455Object.defineProperty(exports, "AwaitExpression", {456 enumerable: true,457 get: function () {458 return _index.awaitExpression;459 }460});461Object.defineProperty(exports, "Import", {462 enumerable: true,463 get: function () {464 return _index.import;465 }466});467Object.defineProperty(exports, "BigIntLiteral", {468 enumerable: true,469 get: function () {470 return _index.bigIntLiteral;471 }472});473Object.defineProperty(exports, "ExportNamespaceSpecifier", {474 enumerable: true,475 get: function () {476 return _index.exportNamespaceSpecifier;477 }478});479Object.defineProperty(exports, "OptionalMemberExpression", {480 enumerable: true,481 get: function () {482 return _index.optionalMemberExpression;483 }484});485Object.defineProperty(exports, "OptionalCallExpression", {486 enumerable: true,487 get: function () {488 return _index.optionalCallExpression;489 }490});491Object.defineProperty(exports, "ClassProperty", {492 enumerable: true,493 get: function () {494 return _index.classProperty;495 }496});497Object.defineProperty(exports, "ClassPrivateProperty", {498 enumerable: true,499 get: function () {500 return _index.classPrivateProperty;501 }502});503Object.defineProperty(exports, "ClassPrivateMethod", {504 enumerable: true,505 get: function () {506 return _index.classPrivateMethod;507 }508});509Object.defineProperty(exports, "PrivateName", {510 enumerable: true,511 get: function () {512 return _index.privateName;513 }514});515Object.defineProperty(exports, "AnyTypeAnnotation", {516 enumerable: true,517 get: function () {518 return _index.anyTypeAnnotation;519 }520});521Object.defineProperty(exports, "ArrayTypeAnnotation", {522 enumerable: true,523 get: function () {524 return _index.arrayTypeAnnotation;525 }526});527Object.defineProperty(exports, "BooleanTypeAnnotation", {528 enumerable: true,529 get: function () {530 return _index.booleanTypeAnnotation;531 }532});533Object.defineProperty(exports, "BooleanLiteralTypeAnnotation", {534 enumerable: true,535 get: function () {536 return _index.booleanLiteralTypeAnnotation;537 }538});539Object.defineProperty(exports, "NullLiteralTypeAnnotation", {540 enumerable: true,541 get: function () {542 return _index.nullLiteralTypeAnnotation;543 }544});545Object.defineProperty(exports, "ClassImplements", {546 enumerable: true,547 get: function () {548 return _index.classImplements;549 }550});551Object.defineProperty(exports, "DeclareClass", {552 enumerable: true,553 get: function () {554 return _index.declareClass;555 }556});557Object.defineProperty(exports, "DeclareFunction", {558 enumerable: true,559 get: function () {560 return _index.declareFunction;561 }562});563Object.defineProperty(exports, "DeclareInterface", {564 enumerable: true,565 get: function () {566 return _index.declareInterface;567 }568});569Object.defineProperty(exports, "DeclareModule", {570 enumerable: true,571 get: function () {572 return _index.declareModule;573 }574});575Object.defineProperty(exports, "DeclareModuleExports", {576 enumerable: true,577 get: function () {578 return _index.declareModuleExports;579 }580});581Object.defineProperty(exports, "DeclareTypeAlias", {582 enumerable: true,583 get: function () {584 return _index.declareTypeAlias;585 }586});587Object.defineProperty(exports, "DeclareOpaqueType", {588 enumerable: true,589 get: function () {590 return _index.declareOpaqueType;591 }592});593Object.defineProperty(exports, "DeclareVariable", {594 enumerable: true,595 get: function () {596 return _index.declareVariable;597 }598});599Object.defineProperty(exports, "DeclareExportDeclaration", {600 enumerable: true,601 get: function () {602 return _index.declareExportDeclaration;603 }604});605Object.defineProperty(exports, "DeclareExportAllDeclaration", {606 enumerable: true,607 get: function () {608 return _index.declareExportAllDeclaration;609 }610});611Object.defineProperty(exports, "DeclaredPredicate", {612 enumerable: true,613 get: function () {614 return _index.declaredPredicate;615 }616});617Object.defineProperty(exports, "ExistsTypeAnnotation", {618 enumerable: true,619 get: function () {620 return _index.existsTypeAnnotation;621 }622});623Object.defineProperty(exports, "FunctionTypeAnnotation", {624 enumerable: true,625 get: function () {626 return _index.functionTypeAnnotation;627 }628});629Object.defineProperty(exports, "FunctionTypeParam", {630 enumerable: true,631 get: function () {632 return _index.functionTypeParam;633 }634});635Object.defineProperty(exports, "GenericTypeAnnotation", {636 enumerable: true,637 get: function () {638 return _index.genericTypeAnnotation;639 }640});641Object.defineProperty(exports, "InferredPredicate", {642 enumerable: true,643 get: function () {644 return _index.inferredPredicate;645 }646});647Object.defineProperty(exports, "InterfaceExtends", {648 enumerable: true,649 get: function () {650 return _index.interfaceExtends;651 }652});653Object.defineProperty(exports, "InterfaceDeclaration", {654 enumerable: true,655 get: function () {656 return _index.interfaceDeclaration;657 }658});659Object.defineProperty(exports, "InterfaceTypeAnnotation", {660 enumerable: true,661 get: function () {662 return _index.interfaceTypeAnnotation;663 }664});665Object.defineProperty(exports, "IntersectionTypeAnnotation", {666 enumerable: true,667 get: function () {668 return _index.intersectionTypeAnnotation;669 }670});671Object.defineProperty(exports, "MixedTypeAnnotation", {672 enumerable: true,673 get: function () {674 return _index.mixedTypeAnnotation;675 }676});677Object.defineProperty(exports, "EmptyTypeAnnotation", {678 enumerable: true,679 get: function () {680 return _index.emptyTypeAnnotation;681 }682});683Object.defineProperty(exports, "NullableTypeAnnotation", {684 enumerable: true,685 get: function () {686 return _index.nullableTypeAnnotation;687 }688});689Object.defineProperty(exports, "NumberLiteralTypeAnnotation", {690 enumerable: true,691 get: function () {692 return _index.numberLiteralTypeAnnotation;693 }694});695Object.defineProperty(exports, "NumberTypeAnnotation", {696 enumerable: true,697 get: function () {698 return _index.numberTypeAnnotation;699 }700});701Object.defineProperty(exports, "ObjectTypeAnnotation", {702 enumerable: true,703 get: function () {704 return _index.objectTypeAnnotation;705 }706});707Object.defineProperty(exports, "ObjectTypeInternalSlot", {708 enumerable: true,709 get: function () {710 return _index.objectTypeInternalSlot;711 }712});713Object.defineProperty(exports, "ObjectTypeCallProperty", {714 enumerable: true,715 get: function () {716 return _index.objectTypeCallProperty;717 }718});719Object.defineProperty(exports, "ObjectTypeIndexer", {720 enumerable: true,721 get: function () {722 return _index.objectTypeIndexer;723 }724});725Object.defineProperty(exports, "ObjectTypeProperty", {726 enumerable: true,727 get: function () {728 return _index.objectTypeProperty;729 }730});731Object.defineProperty(exports, "ObjectTypeSpreadProperty", {732 enumerable: true,733 get: function () {734 return _index.objectTypeSpreadProperty;735 }736});737Object.defineProperty(exports, "OpaqueType", {738 enumerable: true,739 get: function () {740 return _index.opaqueType;741 }742});743Object.defineProperty(exports, "QualifiedTypeIdentifier", {744 enumerable: true,745 get: function () {746 return _index.qualifiedTypeIdentifier;747 }748});749Object.defineProperty(exports, "StringLiteralTypeAnnotation", {750 enumerable: true,751 get: function () {752 return _index.stringLiteralTypeAnnotation;753 }754});755Object.defineProperty(exports, "StringTypeAnnotation", {756 enumerable: true,757 get: function () {758 return _index.stringTypeAnnotation;759 }760});761Object.defineProperty(exports, "SymbolTypeAnnotation", {762 enumerable: true,763 get: function () {764 return _index.symbolTypeAnnotation;765 }766});767Object.defineProperty(exports, "ThisTypeAnnotation", {768 enumerable: true,769 get: function () {770 return _index.thisTypeAnnotation;771 }772});773Object.defineProperty(exports, "TupleTypeAnnotation", {774 enumerable: true,775 get: function () {776 return _index.tupleTypeAnnotation;777 }778});779Object.defineProperty(exports, "TypeofTypeAnnotation", {780 enumerable: true,781 get: function () {782 return _index.typeofTypeAnnotation;783 }784});785Object.defineProperty(exports, "TypeAlias", {786 enumerable: true,787 get: function () {788 return _index.typeAlias;789 }790});791Object.defineProperty(exports, "TypeAnnotation", {792 enumerable: true,793 get: function () {794 return _index.typeAnnotation;795 }796});797Object.defineProperty(exports, "TypeCastExpression", {798 enumerable: true,799 get: function () {800 return _index.typeCastExpression;801 }802});803Object.defineProperty(exports, "TypeParameter", {804 enumerable: true,805 get: function () {806 return _index.typeParameter;807 }808});809Object.defineProperty(exports, "TypeParameterDeclaration", {810 enumerable: true,811 get: function () {812 return _index.typeParameterDeclaration;813 }814});815Object.defineProperty(exports, "TypeParameterInstantiation", {816 enumerable: true,817 get: function () {818 return _index.typeParameterInstantiation;819 }820});821Object.defineProperty(exports, "UnionTypeAnnotation", {822 enumerable: true,823 get: function () {824 return _index.unionTypeAnnotation;825 }826});827Object.defineProperty(exports, "Variance", {828 enumerable: true,829 get: function () {830 return _index.variance;831 }832});833Object.defineProperty(exports, "VoidTypeAnnotation", {834 enumerable: true,835 get: function () {836 return _index.voidTypeAnnotation;837 }838});839Object.defineProperty(exports, "EnumDeclaration", {840 enumerable: true,841 get: function () {842 return _index.enumDeclaration;843 }844});845Object.defineProperty(exports, "EnumBooleanBody", {846 enumerable: true,847 get: function () {848 return _index.enumBooleanBody;849 }850});851Object.defineProperty(exports, "EnumNumberBody", {852 enumerable: true,853 get: function () {854 return _index.enumNumberBody;855 }856});857Object.defineProperty(exports, "EnumStringBody", {858 enumerable: true,859 get: function () {860 return _index.enumStringBody;861 }862});863Object.defineProperty(exports, "EnumSymbolBody", {864 enumerable: true,865 get: function () {866 return _index.enumSymbolBody;867 }868});869Object.defineProperty(exports, "EnumBooleanMember", {870 enumerable: true,871 get: function () {872 return _index.enumBooleanMember;873 }874});875Object.defineProperty(exports, "EnumNumberMember", {876 enumerable: true,877 get: function () {878 return _index.enumNumberMember;879 }880});881Object.defineProperty(exports, "EnumStringMember", {882 enumerable: true,883 get: function () {884 return _index.enumStringMember;885 }886});887Object.defineProperty(exports, "EnumDefaultedMember", {888 enumerable: true,889 get: function () {890 return _index.enumDefaultedMember;891 }892});893Object.defineProperty(exports, "IndexedAccessType", {894 enumerable: true,895 get: function () {896 return _index.indexedAccessType;897 }898});899Object.defineProperty(exports, "OptionalIndexedAccessType", {900 enumerable: true,901 get: function () {902 return _index.optionalIndexedAccessType;903 }904});905Object.defineProperty(exports, "JSXAttribute", {906 enumerable: true,907 get: function () {908 return _index.jsxAttribute;909 }910});911Object.defineProperty(exports, "JSXClosingElement", {912 enumerable: true,913 get: function () {914 return _index.jsxClosingElement;915 }916});917Object.defineProperty(exports, "JSXElement", {918 enumerable: true,919 get: function () {920 return _index.jsxElement;921 }922});923Object.defineProperty(exports, "JSXEmptyExpression", {924 enumerable: true,925 get: function () {926 return _index.jsxEmptyExpression;927 }928});929Object.defineProperty(exports, "JSXExpressionContainer", {930 enumerable: true,931 get: function () {932 return _index.jsxExpressionContainer;933 }934});935Object.defineProperty(exports, "JSXSpreadChild", {936 enumerable: true,937 get: function () {938 return _index.jsxSpreadChild;939 }940});941Object.defineProperty(exports, "JSXIdentifier", {942 enumerable: true,943 get: function () {944 return _index.jsxIdentifier;945 }946});947Object.defineProperty(exports, "JSXMemberExpression", {948 enumerable: true,949 get: function () {950 return _index.jsxMemberExpression;951 }952});953Object.defineProperty(exports, "JSXNamespacedName", {954 enumerable: true,955 get: function () {956 return _index.jsxNamespacedName;957 }958});959Object.defineProperty(exports, "JSXOpeningElement", {960 enumerable: true,961 get: function () {962 return _index.jsxOpeningElement;963 }964});965Object.defineProperty(exports, "JSXSpreadAttribute", {966 enumerable: true,967 get: function () {968 return _index.jsxSpreadAttribute;969 }970});971Object.defineProperty(exports, "JSXText", {972 enumerable: true,973 get: function () {974 return _index.jsxText;975 }976});977Object.defineProperty(exports, "JSXFragment", {978 enumerable: true,979 get: function () {980 return _index.jsxFragment;981 }982});983Object.defineProperty(exports, "JSXOpeningFragment", {984 enumerable: true,985 get: function () {986 return _index.jsxOpeningFragment;987 }988});989Object.defineProperty(exports, "JSXClosingFragment", {990 enumerable: true,991 get: function () {992 return _index.jsxClosingFragment;993 }994});995Object.defineProperty(exports, "Noop", {996 enumerable: true,997 get: function () {998 return _index.noop;999 }1000});1001Object.defineProperty(exports, "Placeholder", {1002 enumerable: true,1003 get: function () {1004 return _index.placeholder;1005 }1006});1007Object.defineProperty(exports, "V8IntrinsicIdentifier", {1008 enumerable: true,1009 get: function () {1010 return _index.v8IntrinsicIdentifier;1011 }1012});1013Object.defineProperty(exports, "ArgumentPlaceholder", {1014 enumerable: true,1015 get: function () {1016 return _index.argumentPlaceholder;1017 }1018});1019Object.defineProperty(exports, "BindExpression", {1020 enumerable: true,1021 get: function () {1022 return _index.bindExpression;1023 }1024});1025Object.defineProperty(exports, "ImportAttribute", {1026 enumerable: true,1027 get: function () {1028 return _index.importAttribute;1029 }1030});1031Object.defineProperty(exports, "Decorator", {1032 enumerable: true,1033 get: function () {1034 return _index.decorator;1035 }1036});1037Object.defineProperty(exports, "DoExpression", {1038 enumerable: true,1039 get: function () {1040 return _index.doExpression;1041 }1042});1043Object.defineProperty(exports, "ExportDefaultSpecifier", {1044 enumerable: true,1045 get: function () {1046 return _index.exportDefaultSpecifier;1047 }1048});1049Object.defineProperty(exports, "RecordExpression", {1050 enumerable: true,1051 get: function () {1052 return _index.recordExpression;1053 }1054});1055Object.defineProperty(exports, "TupleExpression", {1056 enumerable: true,1057 get: function () {1058 return _index.tupleExpression;1059 }1060});1061Object.defineProperty(exports, "DecimalLiteral", {1062 enumerable: true,1063 get: function () {1064 return _index.decimalLiteral;1065 }1066});1067Object.defineProperty(exports, "StaticBlock", {1068 enumerable: true,1069 get: function () {1070 return _index.staticBlock;1071 }1072});1073Object.defineProperty(exports, "ModuleExpression", {1074 enumerable: true,1075 get: function () {1076 return _index.moduleExpression;1077 }1078});1079Object.defineProperty(exports, "TopicReference", {1080 enumerable: true,1081 get: function () {1082 return _index.topicReference;1083 }1084});1085Object.defineProperty(exports, "PipelineTopicExpression", {1086 enumerable: true,1087 get: function () {1088 return _index.pipelineTopicExpression;1089 }1090});1091Object.defineProperty(exports, "PipelineBareFunction", {1092 enumerable: true,1093 get: function () {1094 return _index.pipelineBareFunction;1095 }1096});1097Object.defineProperty(exports, "PipelinePrimaryTopicReference", {1098 enumerable: true,1099 get: function () {1100 return _index.pipelinePrimaryTopicReference;1101 }1102});1103Object.defineProperty(exports, "TSParameterProperty", {1104 enumerable: true,1105 get: function () {1106 return _index.tsParameterProperty;1107 }1108});1109Object.defineProperty(exports, "TSDeclareFunction", {1110 enumerable: true,1111 get: function () {1112 return _index.tsDeclareFunction;1113 }1114});1115Object.defineProperty(exports, "TSDeclareMethod", {1116 enumerable: true,1117 get: function () {1118 return _index.tsDeclareMethod;1119 }1120});1121Object.defineProperty(exports, "TSQualifiedName", {1122 enumerable: true,1123 get: function () {1124 return _index.tsQualifiedName;1125 }1126});1127Object.defineProperty(exports, "TSCallSignatureDeclaration", {1128 enumerable: true,1129 get: function () {1130 return _index.tsCallSignatureDeclaration;1131 }1132});1133Object.defineProperty(exports, "TSConstructSignatureDeclaration", {1134 enumerable: true,1135 get: function () {1136 return _index.tsConstructSignatureDeclaration;1137 }1138});1139Object.defineProperty(exports, "TSPropertySignature", {1140 enumerable: true,1141 get: function () {1142 return _index.tsPropertySignature;1143 }1144});1145Object.defineProperty(exports, "TSMethodSignature", {1146 enumerable: true,1147 get: function () {1148 return _index.tsMethodSignature;1149 }1150});1151Object.defineProperty(exports, "TSIndexSignature", {1152 enumerable: true,1153 get: function () {1154 return _index.tsIndexSignature;1155 }1156});1157Object.defineProperty(exports, "TSAnyKeyword", {1158 enumerable: true,1159 get: function () {1160 return _index.tsAnyKeyword;1161 }1162});1163Object.defineProperty(exports, "TSBooleanKeyword", {1164 enumerable: true,1165 get: function () {1166 return _index.tsBooleanKeyword;1167 }1168});1169Object.defineProperty(exports, "TSBigIntKeyword", {1170 enumerable: true,1171 get: function () {1172 return _index.tsBigIntKeyword;1173 }1174});1175Object.defineProperty(exports, "TSIntrinsicKeyword", {1176 enumerable: true,1177 get: function () {1178 return _index.tsIntrinsicKeyword;1179 }1180});1181Object.defineProperty(exports, "TSNeverKeyword", {1182 enumerable: true,1183 get: function () {1184 return _index.tsNeverKeyword;1185 }1186});1187Object.defineProperty(exports, "TSNullKeyword", {1188 enumerable: true,1189 get: function () {1190 return _index.tsNullKeyword;1191 }1192});1193Object.defineProperty(exports, "TSNumberKeyword", {1194 enumerable: true,1195 get: function () {1196 return _index.tsNumberKeyword;1197 }1198});1199Object.defineProperty(exports, "TSObjectKeyword", {1200 enumerable: true,1201 get: function () {1202 return _index.tsObjectKeyword;1203 }1204});1205Object.defineProperty(exports, "TSStringKeyword", {1206 enumerable: true,1207 get: function () {1208 return _index.tsStringKeyword;1209 }1210});1211Object.defineProperty(exports, "TSSymbolKeyword", {1212 enumerable: true,1213 get: function () {1214 return _index.tsSymbolKeyword;1215 }1216});1217Object.defineProperty(exports, "TSUndefinedKeyword", {1218 enumerable: true,1219 get: function () {1220 return _index.tsUndefinedKeyword;1221 }1222});1223Object.defineProperty(exports, "TSUnknownKeyword", {1224 enumerable: true,1225 get: function () {1226 return _index.tsUnknownKeyword;1227 }1228});1229Object.defineProperty(exports, "TSVoidKeyword", {1230 enumerable: true,1231 get: function () {1232 return _index.tsVoidKeyword;1233 }1234});1235Object.defineProperty(exports, "TSThisType", {1236 enumerable: true,1237 get: function () {1238 return _index.tsThisType;1239 }1240});1241Object.defineProperty(exports, "TSFunctionType", {1242 enumerable: true,1243 get: function () {1244 return _index.tsFunctionType;1245 }1246});1247Object.defineProperty(exports, "TSConstructorType", {1248 enumerable: true,1249 get: function () {1250 return _index.tsConstructorType;1251 }1252});1253Object.defineProperty(exports, "TSTypeReference", {1254 enumerable: true,1255 get: function () {1256 return _index.tsTypeReference;1257 }1258});1259Object.defineProperty(exports, "TSTypePredicate", {1260 enumerable: true,1261 get: function () {1262 return _index.tsTypePredicate;1263 }1264});1265Object.defineProperty(exports, "TSTypeQuery", {1266 enumerable: true,1267 get: function () {1268 return _index.tsTypeQuery;1269 }1270});1271Object.defineProperty(exports, "TSTypeLiteral", {1272 enumerable: true,1273 get: function () {1274 return _index.tsTypeLiteral;1275 }1276});1277Object.defineProperty(exports, "TSArrayType", {1278 enumerable: true,1279 get: function () {1280 return _index.tsArrayType;1281 }1282});1283Object.defineProperty(exports, "TSTupleType", {1284 enumerable: true,1285 get: function () {1286 return _index.tsTupleType;1287 }1288});1289Object.defineProperty(exports, "TSOptionalType", {1290 enumerable: true,1291 get: function () {1292 return _index.tsOptionalType;1293 }1294});1295Object.defineProperty(exports, "TSRestType", {1296 enumerable: true,1297 get: function () {1298 return _index.tsRestType;1299 }1300});1301Object.defineProperty(exports, "TSNamedTupleMember", {1302 enumerable: true,1303 get: function () {1304 return _index.tsNamedTupleMember;1305 }1306});1307Object.defineProperty(exports, "TSUnionType", {1308 enumerable: true,1309 get: function () {1310 return _index.tsUnionType;1311 }1312});1313Object.defineProperty(exports, "TSIntersectionType", {1314 enumerable: true,1315 get: function () {1316 return _index.tsIntersectionType;1317 }1318});1319Object.defineProperty(exports, "TSConditionalType", {1320 enumerable: true,1321 get: function () {1322 return _index.tsConditionalType;1323 }1324});1325Object.defineProperty(exports, "TSInferType", {1326 enumerable: true,1327 get: function () {1328 return _index.tsInferType;1329 }1330});1331Object.defineProperty(exports, "TSParenthesizedType", {1332 enumerable: true,1333 get: function () {1334 return _index.tsParenthesizedType;1335 }1336});1337Object.defineProperty(exports, "TSTypeOperator", {1338 enumerable: true,1339 get: function () {1340 return _index.tsTypeOperator;1341 }1342});1343Object.defineProperty(exports, "TSIndexedAccessType", {1344 enumerable: true,1345 get: function () {1346 return _index.tsIndexedAccessType;1347 }1348});1349Object.defineProperty(exports, "TSMappedType", {1350 enumerable: true,1351 get: function () {1352 return _index.tsMappedType;1353 }1354});1355Object.defineProperty(exports, "TSLiteralType", {1356 enumerable: true,1357 get: function () {1358 return _index.tsLiteralType;1359 }1360});1361Object.defineProperty(exports, "TSExpressionWithTypeArguments", {1362 enumerable: true,1363 get: function () {1364 return _index.tsExpressionWithTypeArguments;1365 }1366});1367Object.defineProperty(exports, "TSInterfaceDeclaration", {1368 enumerable: true,1369 get: function () {1370 return _index.tsInterfaceDeclaration;1371 }1372});1373Object.defineProperty(exports, "TSInterfaceBody", {1374 enumerable: true,1375 get: function () {1376 return _index.tsInterfaceBody;1377 }1378});1379Object.defineProperty(exports, "TSTypeAliasDeclaration", {1380 enumerable: true,1381 get: function () {1382 return _index.tsTypeAliasDeclaration;1383 }1384});1385Object.defineProperty(exports, "TSAsExpression", {1386 enumerable: true,1387 get: function () {1388 return _index.tsAsExpression;1389 }1390});1391Object.defineProperty(exports, "TSTypeAssertion", {1392 enumerable: true,1393 get: function () {1394 return _index.tsTypeAssertion;1395 }1396});1397Object.defineProperty(exports, "TSEnumDeclaration", {1398 enumerable: true,1399 get: function () {1400 return _index.tsEnumDeclaration;1401 }1402});1403Object.defineProperty(exports, "TSEnumMember", {1404 enumerable: true,1405 get: function () {1406 return _index.tsEnumMember;1407 }1408});1409Object.defineProperty(exports, "TSModuleDeclaration", {1410 enumerable: true,1411 get: function () {1412 return _index.tsModuleDeclaration;1413 }1414});1415Object.defineProperty(exports, "TSModuleBlock", {1416 enumerable: true,1417 get: function () {1418 return _index.tsModuleBlock;1419 }1420});1421Object.defineProperty(exports, "TSImportType", {1422 enumerable: true,1423 get: function () {1424 return _index.tsImportType;1425 }1426});1427Object.defineProperty(exports, "TSImportEqualsDeclaration", {1428 enumerable: true,1429 get: function () {1430 return _index.tsImportEqualsDeclaration;1431 }1432});1433Object.defineProperty(exports, "TSExternalModuleReference", {1434 enumerable: true,1435 get: function () {1436 return _index.tsExternalModuleReference;1437 }1438});1439Object.defineProperty(exports, "TSNonNullExpression", {1440 enumerable: true,1441 get: function () {1442 return _index.tsNonNullExpression;1443 }1444});1445Object.defineProperty(exports, "TSExportAssignment", {1446 enumerable: true,1447 get: function () {1448 return _index.tsExportAssignment;1449 }1450});1451Object.defineProperty(exports, "TSNamespaceExportDeclaration", {1452 enumerable: true,1453 get: function () {1454 return _index.tsNamespaceExportDeclaration;1455 }1456});1457Object.defineProperty(exports, "TSTypeAnnotation", {1458 enumerable: true,1459 get: function () {1460 return _index.tsTypeAnnotation;1461 }1462});1463Object.defineProperty(exports, "TSTypeParameterInstantiation", {1464 enumerable: true,1465 get: function () {1466 return _index.tsTypeParameterInstantiation;1467 }1468});1469Object.defineProperty(exports, "TSTypeParameterDeclaration", {1470 enumerable: true,1471 get: function () {1472 return _index.tsTypeParameterDeclaration;1473 }1474});1475Object.defineProperty(exports, "TSTypeParameter", {1476 enumerable: true,1477 get: function () {1478 return _index.tsTypeParameter;1479 }1480});1481Object.defineProperty(exports, "NumberLiteral", {1482 enumerable: true,1483 get: function () {1484 return _index.numberLiteral;1485 }1486});1487Object.defineProperty(exports, "RegexLiteral", {1488 enumerable: true,1489 get: function () {1490 return _index.regexLiteral;1491 }1492});1493Object.defineProperty(exports, "RestProperty", {1494 enumerable: true,1495 get: function () {1496 return _index.restProperty;1497 }1498});1499Object.defineProperty(exports, "SpreadProperty", {1500 enumerable: true,1501 get: function () {1502 return _index.spreadProperty;1503 }1504});...
index.mjs
Source:index.mjs
...15 global: global.sort((a, b) => polyfillsOrder[a] - polyfillsOrder[b]),16 exclude17 };18};19const typed = name => define(null, [name, ...TypedArrayDependencies]);20const ArrayNatureIterators = ["es.array.iterator", "web.dom-collections.iterator"];21const CommonIterators = ["es.string.iterator", ...ArrayNatureIterators];22const ArrayNatureIteratorsWithTag = ["es.object.to-string", ...ArrayNatureIterators];23const CommonIteratorsWithTag = ["es.object.to-string", ...CommonIterators];24const TypedArrayDependencies = ["es.typed-array.copy-within", "es.typed-array.every", "es.typed-array.fill", "es.typed-array.filter", "es.typed-array.find", "es.typed-array.find-index", "es.typed-array.for-each", "es.typed-array.includes", "es.typed-array.index-of", "es.typed-array.iterator", "es.typed-array.join", "es.typed-array.last-index-of", "es.typed-array.map", "es.typed-array.reduce", "es.typed-array.reduce-right", "es.typed-array.reverse", "es.typed-array.set", "es.typed-array.slice", "es.typed-array.some", "es.typed-array.sort", "es.typed-array.subarray", "es.typed-array.to-locale-string", "es.typed-array.to-string", "es.object.to-string", "es.array.iterator", "es.array-buffer.slice"];25const TypedArrayStaticMethods = {26 from: define(null, ["es.typed-array.from"]),27 of: define(null, ["es.typed-array.of"])28};29const PromiseDependencies = ["es.promise", "es.object.to-string"];30const PromiseDependenciesWithIterators = [...PromiseDependencies, ...CommonIterators];31const SymbolDependencies = ["es.symbol", "es.symbol.description", "es.object.to-string"];32const MapDependencies = ["es.map", "esnext.map.delete-all", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];33const SetDependencies = ["es.set", "esnext.set.add-all", "esnext.set.delete-all", "esnext.set.difference", "esnext.set.every", "esnext.set.filter", "esnext.set.find", "esnext.set.intersection", "esnext.set.is-disjoint-from", "esnext.set.is-subset-of", "esnext.set.is-superset-of", "esnext.set.join", "esnext.set.map", "esnext.set.reduce", "esnext.set.some", "esnext.set.symmetric-difference", "esnext.set.union", ...CommonIteratorsWithTag];34const WeakMapDependencies = ["es.weak-map", "esnext.weak-map.delete-all", ...CommonIteratorsWithTag];35const WeakSetDependencies = ["es.weak-set", "esnext.weak-set.add-all", "esnext.weak-set.delete-all", ...CommonIteratorsWithTag];36const URLSearchParamsDependencies = ["web.url-search-params", ...CommonIteratorsWithTag];37const BuiltIns = {38 AggregateError: define("aggregate-error", ["es.aggregate-error", ...CommonIterators]),39 ArrayBuffer: define(null, ["es.array-buffer.constructor", "es.array-buffer.slice", "es.object.to-string"]),40 DataView: define(null, ["es.data-view", "es.array-buffer.slice", "es.object.to-string"]),41 Date: define(null, ["es.date.to-string"]),42 Float32Array: typed("es.typed-array.float32-array"),43 Float64Array: typed("es.typed-array.float64-array"),44 Int8Array: typed("es.typed-array.int8-array"),45 Int16Array: typed("es.typed-array.int16-array"),46 Int32Array: typed("es.typed-array.int32-array"),47 Uint8Array: typed("es.typed-array.uint8-array"),48 Uint8ClampedArray: typed("es.typed-array.uint8-clamped-array"),49 Uint16Array: typed("es.typed-array.uint16-array"),50 Uint32Array: typed("es.typed-array.uint32-array"),51 Map: define("map/index", MapDependencies),52 Number: define(null, ["es.number.constructor"]),53 Observable: define("observable/index", ["esnext.observable", "esnext.symbol.observable", "es.object.to-string", ...CommonIteratorsWithTag]),54 Promise: define("promise/index", PromiseDependencies),55 RegExp: define(null, ["es.regexp.constructor", "es.regexp.exec", "es.regexp.to-string"]),56 Set: define("set/index", SetDependencies),57 Symbol: define("symbol/index", SymbolDependencies),58 URL: define("url/index", ["web.url", ...URLSearchParamsDependencies]),59 URLSearchParams: define("url-search-params/index", URLSearchParamsDependencies),60 WeakMap: define("weak-map/index", WeakMapDependencies),61 WeakSet: define("weak-set/index", WeakSetDependencies),62 clearImmediate: define("clear-immediate", ["web.immediate"]),63 compositeKey: define("composite-key", ["esnext.composite-key"]),64 compositeSymbol: define("composite-symbol", ["esnext.composite-symbol"]),65 fetch: define(null, PromiseDependencies),66 globalThis: define("global-this", ["es.global-this"]),67 parseFloat: define("parse-float", ["es.parse-float"]),68 parseInt: define("parse-int", ["es.parse-int"]),69 queueMicrotask: define("queue-microtask", ["web.queue-microtask"]),70 setImmediate: define("set-immediate", ["web.immediate"]),71 setInterval: define("set-interval", ["web.timers"]),72 setTimeout: define("set-timeout", ["web.timers"])73};74const StaticProperties = {75 Array: {76 from: define("array/from", ["es.array.from", "es.string.iterator"]),77 isArray: define("array/is-array", ["es.array.is-array"]),78 of: define("array/of", ["es.array.of"])79 },80 ArrayBuffer: {81 isView: define(null, ["es.array-buffer.is-view"])82 },83 Date: {84 now: define("date/now", ["es.date.now"])85 },86 JSON: {87 stringify: define("json/stringify", [], "es.symbol")88 },89 Math: {90 DEG_PER_RAD: define("math/deg-per-rad", ["esnext.math.deg-per-rad"]),91 RAD_PER_DEG: define("math/rad-per-deg", ["esnext.math.rad-per-deg"]),92 acosh: define("math/acosh", ["es.math.acosh"]),93 asinh: define("math/asinh", ["es.math.asinh"]),94 atanh: define("math/atanh", ["es.math.atanh"]),95 cbrt: define("math/cbrt", ["es.math.cbrt"]),96 clamp: define("math/clamp", ["esnext.math.clamp"]),97 clz32: define("math/clz32", ["es.math.clz32"]),98 cosh: define("math/cosh", ["es.math.cosh"]),99 degrees: define("math/degrees", ["esnext.math.degrees"]),100 expm1: define("math/expm1", ["es.math.expm1"]),101 fround: define("math/fround", ["es.math.fround"]),102 fscale: define("math/fscale", ["esnext.math.fscale"]),103 hypot: define("math/hypot", ["es.math.hypot"]),104 iaddh: define("math/iaddh", ["esnext.math.iaddh"]),105 imul: define("math/imul", ["es.math.imul"]),106 imulh: define("math/imulh", ["esnext.math.imulh"]),107 isubh: define("math/isubh", ["esnext.math.isubh"]),108 log10: define("math/log10", ["es.math.log10"]),109 log1p: define("math/log1p", ["es.math.log1p"]),110 log2: define("math/log2", ["es.math.log2"]),111 radians: define("math/radians", ["esnext.math.radians"]),112 scale: define("math/scale", ["esnext.math.scale"]),113 seededPRNG: define("math/seeded-prng", ["esnext.math.seeded-prng"]),114 sign: define("math/sign", ["es.math.sign"]),115 signbit: define("math/signbit", ["esnext.math.signbit"]),116 sinh: define("math/sinh", ["es.math.sinh"]),117 tanh: define("math/tanh", ["es.math.tanh"]),118 trunc: define("math/trunc", ["es.math.trunc"]),119 umulh: define("math/umulh", ["esnext.math.umulh"])120 },121 Map: {122 from: define(null, ["esnext.map.from", ...MapDependencies]),123 groupBy: define(null, ["esnext.map.group-by", ...MapDependencies]),124 keyBy: define(null, ["esnext.map.key-by", ...MapDependencies]),125 of: define(null, ["esnext.map.of", ...MapDependencies])126 },127 Number: {128 EPSILON: define("number/epsilon", ["es.number.epsilon"]),129 MAX_SAFE_INTEGER: define("number/max-safe-integer", ["es.number.max-safe-integer"]),130 MIN_SAFE_INTEGER: define("number/min-safe-integer", ["es.number.min-safe-integer"]),131 fromString: define("number/from-string", ["esnext.number.from-string"]),132 isFinite: define("number/is-finite", ["es.number.is-finite"]),133 isInteger: define("number/is-integer", ["es.number.is-integer"]),134 isNaN: define("number/is-nan", ["es.number.is-nan"]),135 isSafeInteger: define("number/is-safe-integer", ["es.number.is-safe-integer"]),136 parseFloat: define("number/parse-float", ["es.number.parse-float"]),137 parseInt: define("number/parse-int", ["es.number.parse-int"])138 },139 Object: {140 assign: define("object/assign", ["es.object.assign"]),141 create: define("object/create", ["es.object.create"]),142 defineProperties: define("object/define-properties", ["es.object.define-properties"]),143 defineProperty: define("object/define-property", ["es.object.define-property"]),144 entries: define("object/entries", ["es.object.entries"]),145 freeze: define("object/freeze", ["es.object.freeze"]),146 fromEntries: define("object/from-entries", ["es.object.from-entries", "es.array.iterator"]),147 getOwnPropertyDescriptor: define("object/get-own-property-descriptor", ["es.object.get-own-property-descriptor"]),148 getOwnPropertyDescriptors: define("object/get-own-property-descriptors", ["es.object.get-own-property-descriptors"]),149 getOwnPropertyNames: define("object/get-own-property-names", ["es.object.get-own-property-names"]),150 getOwnPropertySymbols: define("object/get-own-property-symbols", ["es.symbol"]),151 getPrototypeOf: define("object/get-prototype-of", ["es.object.get-prototype-of"]),152 hasOwn: define("object/has-own", ["esnext.object.has-own"]),153 is: define("object/is", ["es.object.is"]),154 isExtensible: define("object/is-extensible", ["es.object.is-extensible"]),155 isFrozen: define("object/is-frozen", ["es.object.is-frozen"]),156 isSealed: define("object/is-sealed", ["es.object.is-sealed"]),157 keys: define("object/keys", ["es.object.keys"]),158 preventExtensions: define("object/prevent-extensions", ["es.object.prevent-extensions"]),159 seal: define("object/seal", ["es.object.seal"]),160 setPrototypeOf: define("object/set-prototype-of", ["es.object.set-prototype-of"]),161 values: define("object/values", ["es.object.values"])162 },163 Promise: {164 all: define(null, PromiseDependenciesWithIterators),165 allSettled: define(null, ["es.promise.all-settled", ...PromiseDependenciesWithIterators]),166 any: define(null, ["es.promise.any", ...PromiseDependenciesWithIterators]),167 race: define(null, PromiseDependenciesWithIterators),168 try: define(null, ["esnext.promise.try", ...PromiseDependenciesWithIterators])169 },170 Reflect: {171 apply: define("reflect/apply", ["es.reflect.apply"]),172 construct: define("reflect/construct", ["es.reflect.construct"]),173 defineMetadata: define("reflect/define-metadata", ["esnext.reflect.define-metadata"]),174 defineProperty: define("reflect/define-property", ["es.reflect.define-property"]),175 deleteMetadata: define("reflect/delete-metadata", ["esnext.reflect.delete-metadata"]),176 deleteProperty: define("reflect/delete-property", ["es.reflect.delete-property"]),177 get: define("reflect/get", ["es.reflect.get"]),178 getMetadata: define("reflect/get-metadata", ["esnext.reflect.get-metadata"]),179 getMetadataKeys: define("reflect/get-metadata-keys", ["esnext.reflect.get-metadata-keys"]),180 getOwnMetadata: define("reflect/get-own-metadata", ["esnext.reflect.get-own-metadata"]),181 getOwnMetadataKeys: define("reflect/get-own-metadata-keys", ["esnext.reflect.get-own-metadata-keys"]),182 getOwnPropertyDescriptor: define("reflect/get-own-property-descriptor", ["es.reflect.get-own-property-descriptor"]),183 getPrototypeOf: define("reflect/get-prototype-of", ["es.reflect.get-prototype-of"]),184 has: define("reflect/has", ["es.reflect.has"]),185 hasMetadata: define("reflect/has-metadata", ["esnext.reflect.has-metadata"]),186 hasOwnMetadata: define("reflect/has-own-metadata", ["esnext.reflect.has-own-metadata"]),187 isExtensible: define("reflect/is-extensible", ["es.reflect.is-extensible"]),188 metadata: define("reflect/metadata", ["esnext.reflect.metadata"]),189 ownKeys: define("reflect/own-keys", ["es.reflect.own-keys"]),190 preventExtensions: define("reflect/prevent-extensions", ["es.reflect.prevent-extensions"]),191 set: define("reflect/set", ["es.reflect.set"]),192 setPrototypeOf: define("reflect/set-prototype-of", ["es.reflect.set-prototype-of"])193 },194 Set: {195 from: define(null, ["esnext.set.from", ...SetDependencies]),196 of: define(null, ["esnext.set.of", ...SetDependencies])197 },198 String: {199 fromCodePoint: define("string/from-code-point", ["es.string.from-code-point"]),200 raw: define("string/raw", ["es.string.raw"])201 },202 Symbol: {203 asyncIterator: define("symbol/async-iterator", ["es.symbol.async-iterator"]),204 dispose: define("symbol/dispose", ["esnext.symbol.dispose"]),205 for: define("symbol/for", [], "es.symbol"),206 hasInstance: define("symbol/has-instance", ["es.symbol.has-instance", "es.function.has-instance"]),207 isConcatSpreadable: define("symbol/is-concat-spreadable", ["es.symbol.is-concat-spreadable", "es.array.concat"]),208 iterator: define("symbol/iterator", ["es.symbol.iterator", ...CommonIteratorsWithTag]),209 keyFor: define("symbol/key-for", [], "es.symbol"),210 match: define("symbol/match", ["es.symbol.match", "es.string.match"]),211 observable: define("symbol/observable", ["esnext.symbol.observable"]),212 patternMatch: define("symbol/pattern-match", ["esnext.symbol.pattern-match"]),213 replace: define("symbol/replace", ["es.symbol.replace", "es.string.replace"]),214 search: define("symbol/search", ["es.symbol.search", "es.string.search"]),215 species: define("symbol/species", ["es.symbol.species", "es.array.species"]),216 split: define("symbol/split", ["es.symbol.split", "es.string.split"]),217 toPrimitive: define("symbol/to-primitive", ["es.symbol.to-primitive", "es.date.to-primitive"]),218 toStringTag: define("symbol/to-string-tag", ["es.symbol.to-string-tag", "es.object.to-string", "es.math.to-string-tag", "es.json.to-string-tag"]),219 unscopables: define("symbol/unscopables", ["es.symbol.unscopables"])220 },221 WeakMap: {222 from: define(null, ["esnext.weak-map.from", ...WeakMapDependencies]),223 of: define(null, ["esnext.weak-map.of", ...WeakMapDependencies])224 },225 WeakSet: {226 from: define(null, ["esnext.weak-set.from", ...WeakSetDependencies]),227 of: define(null, ["esnext.weak-set.of", ...WeakSetDependencies])228 },229 Int8Array: TypedArrayStaticMethods,230 Uint8Array: TypedArrayStaticMethods,231 Uint8ClampedArray: TypedArrayStaticMethods,232 Int16Array: TypedArrayStaticMethods,233 Uint16Array: TypedArrayStaticMethods,234 Int32Array: TypedArrayStaticMethods,235 Uint32Array: TypedArrayStaticMethods,236 Float32Array: TypedArrayStaticMethods,237 Float64Array: TypedArrayStaticMethods238};239const InstanceProperties = {240 at: define("instance/at", ["esnext.string.at", "esnext.array.at", "esnext.typed-array.at"]),241 anchor: define(null, ["es.string.anchor"]),242 big: define(null, ["es.string.big"]),243 bind: define("instance/bind", ["es.function.bind"]),244 blink: define(null, ["es.string.blink"]),245 bold: define(null, ["es.string.bold"]),246 codePointAt: define("instance/code-point-at", ["es.string.code-point-at"]),247 codePoints: define("instance/code-points", ["esnext.string.code-points"]),248 concat: define("instance/concat", ["es.array.concat"], undefined, ["String"]),249 copyWithin: define("instance/copy-within", ["es.array.copy-within"]),250 description: define(null, ["es.symbol", "es.symbol.description"]),251 endsWith: define("instance/ends-with", ["es.string.ends-with"]),252 entries: define("instance/entries", ArrayNatureIteratorsWithTag),253 every: define("instance/every", ["es.array.every"]),254 exec: define(null, ["es.regexp.exec"]),255 fill: define("instance/fill", ["es.array.fill"]),256 filter: define("instance/filter", ["es.array.filter"]),257 finally: define(null, ["es.promise.finally", ...PromiseDependencies]),258 find: define("instance/find", ["es.array.find"]),259 findIndex: define("instance/find-index", ["es.array.find-index"]),260 findLast: define("instance/find-last", ["esnext.array.find-last"]),261 findLastIndex: define("instance/find-last-index", ["esnext.array.find-last-index"]),262 fixed: define(null, ["es.string.fixed"]),263 flags: define("instance/flags", ["es.regexp.flags"]),264 flatMap: define("instance/flat-map", ["es.array.flat-map", "es.array.unscopables.flat-map"]),265 flat: define("instance/flat", ["es.array.flat"]),266 fontcolor: define(null, ["es.string.fontcolor"]),267 fontsize: define(null, ["es.string.fontsize"]),268 forEach: define("instance/for-each", ["es.array.for-each", "web.dom-collections.for-each"]),269 includes: define("instance/includes", ["es.array.includes", "es.string.includes"]),270 indexOf: define("instance/index-of", ["es.array.index-of"]),271 italic: define(null, ["es.string.italics"]),272 join: define(null, ["es.array.join"]),273 keys: define("instance/keys", ArrayNatureIteratorsWithTag),274 lastIndex: define(null, ["esnext.array.last-index"]),275 lastIndexOf: define("instance/last-index-of", ["es.array.last-index-of"]),276 lastItem: define(null, ["esnext.array.last-item"]),277 link: define(null, ["es.string.link"]),278 map: define("instance/map", ["es.array.map"]),279 match: define(null, ["es.string.match", "es.regexp.exec"]),280 matchAll: define("instance/match-all", ["es.string.match-all"]),281 name: define(null, ["es.function.name"]),282 padEnd: define("instance/pad-end", ["es.string.pad-end"]),283 padStart: define("instance/pad-start", ["es.string.pad-start"]),284 reduce: define("instance/reduce", ["es.array.reduce"]),285 reduceRight: define("instance/reduce-right", ["es.array.reduce-right"]),286 repeat: define("instance/repeat", ["es.string.repeat"]),287 replace: define(null, ["es.string.replace", "es.regexp.exec"]),288 replaceAll: define("instance/replace-all", ["es.string.replace-all"]),289 reverse: define("instance/reverse", ["es.array.reverse"]),290 search: define(null, ["es.string.search", "es.regexp.exec"]),291 slice: define("instance/slice", ["es.array.slice"]),292 small: define(null, ["es.string.small"]),293 some: define("instance/some", ["es.array.some"]),294 sort: define("instance/sort", ["es.array.sort"]),295 splice: define("instance/splice", ["es.array.splice"]),296 split: define(null, ["es.string.split", "es.regexp.exec"]),297 startsWith: define("instance/starts-with", ["es.string.starts-with"]),298 strike: define(null, ["es.string.strike"]),299 sub: define(null, ["es.string.sub"]),300 sup: define(null, ["es.string.sup"]),301 toFixed: define(null, ["es.number.to-fixed"]),302 toISOString: define(null, ["es.date.to-iso-string"]),303 toJSON: define(null, ["es.date.to-json", "web.url.to-json"]),304 toPrecision: define(null, ["es.number.to-precision"]),305 toString: define(null, ["es.object.to-string", "es.regexp.to-string", "es.date.to-string"]),306 trim: define("instance/trim", ["es.string.trim"]),307 trimEnd: define("instance/trim-end", ["es.string.trim-end"]),308 trimLeft: define("instance/trim-left", ["es.string.trim-start"]),309 trimRight: define("instance/trim-right", ["es.string.trim-end"]),310 trimStart: define("instance/trim-start", ["es.string.trim-start"]),311 values: define("instance/values", ArrayNatureIteratorsWithTag),312 __defineGetter__: define(null, ["es.object.define-getter"]),313 __defineSetter__: define(null, ["es.object.define-setter"]),314 __lookupGetter__: define(null, ["es.object.lookup-getter"]),315 __lookupSetter__: define(null, ["es.object.lookup-setter"])316};317const CommonInstanceDependencies = new Set(["es.object.to-string", "es.object.define-getter", "es.object.define-setter", "es.object.lookup-getter", "es.object.lookup-setter", "es.regexp.exec"]);318const {319 types: t$1320} = babel.default || babel;321function callMethod(path, id) {322 const {323 object324 } = path.node;325 let context1, context2;326 if (t$1.isIdentifier(object)) {327 context1 = object;328 context2 = t$1.cloneNode(object);329 } else {...
built-in-definitions.js
Source:built-in-definitions.js
...14 global: global.sort((a, b) => polyfillsOrder[a] - polyfillsOrder[b]),15 exclude16 };17};18const typed = name => define(null, [name, ...TypedArrayDependencies]);19const ArrayNatureIterators = ["es.array.iterator", "web.dom-collections.iterator"];20const CommonIterators = ["es.string.iterator", ...ArrayNatureIterators];21exports.CommonIterators = CommonIterators;22const ArrayNatureIteratorsWithTag = ["es.object.to-string", ...ArrayNatureIterators];23const CommonIteratorsWithTag = ["es.object.to-string", ...CommonIterators];24const TypedArrayDependencies = ["es.typed-array.copy-within", "es.typed-array.every", "es.typed-array.fill", "es.typed-array.filter", "es.typed-array.find", "es.typed-array.find-index", "es.typed-array.for-each", "es.typed-array.includes", "es.typed-array.index-of", "es.typed-array.iterator", "es.typed-array.join", "es.typed-array.last-index-of", "es.typed-array.map", "es.typed-array.reduce", "es.typed-array.reduce-right", "es.typed-array.reverse", "es.typed-array.set", "es.typed-array.slice", "es.typed-array.some", "es.typed-array.sort", "es.typed-array.subarray", "es.typed-array.to-locale-string", "es.typed-array.to-string", "es.object.to-string", "es.array.iterator", "es.array-buffer.slice"];25const TypedArrayStaticMethods = {26 from: define(null, ["es.typed-array.from"]),27 of: define(null, ["es.typed-array.of"])28};29const PromiseDependencies = ["es.promise", "es.object.to-string"];30exports.PromiseDependencies = PromiseDependencies;31const PromiseDependenciesWithIterators = [...PromiseDependencies, ...CommonIterators];32exports.PromiseDependenciesWithIterators = PromiseDependenciesWithIterators;33const SymbolDependencies = ["es.symbol", "es.symbol.description", "es.object.to-string"];34const MapDependencies = ["es.map", "esnext.map.delete-all", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];35const SetDependencies = ["es.set", "esnext.set.add-all", "esnext.set.delete-all", "esnext.set.difference", "esnext.set.every", "esnext.set.filter", "esnext.set.find", "esnext.set.intersection", "esnext.set.is-disjoint-from", "esnext.set.is-subset-of", "esnext.set.is-superset-of", "esnext.set.join", "esnext.set.map", "esnext.set.reduce", "esnext.set.some", "esnext.set.symmetric-difference", "esnext.set.union", ...CommonIteratorsWithTag];36const WeakMapDependencies = ["es.weak-map", "esnext.weak-map.delete-all", ...CommonIteratorsWithTag];37const WeakSetDependencies = ["es.weak-set", "esnext.weak-set.add-all", "esnext.weak-set.delete-all", ...CommonIteratorsWithTag];38const URLSearchParamsDependencies = ["web.url-search-params", ...CommonIteratorsWithTag];39const BuiltIns = {40 AggregateError: define("aggregate-error", ["es.aggregate-error", ...CommonIterators]),41 ArrayBuffer: define(null, ["es.array-buffer.constructor", "es.array-buffer.slice", "es.object.to-string"]),42 DataView: define(null, ["es.data-view", "es.array-buffer.slice", "es.object.to-string"]),43 Date: define(null, ["es.date.to-string"]),44 Float32Array: typed("es.typed-array.float32-array"),45 Float64Array: typed("es.typed-array.float64-array"),46 Int8Array: typed("es.typed-array.int8-array"),47 Int16Array: typed("es.typed-array.int16-array"),48 Int32Array: typed("es.typed-array.int32-array"),49 Uint8Array: typed("es.typed-array.uint8-array"),50 Uint8ClampedArray: typed("es.typed-array.uint8-clamped-array"),51 Uint16Array: typed("es.typed-array.uint16-array"),52 Uint32Array: typed("es.typed-array.uint32-array"),53 Map: define("map/index", MapDependencies),54 Number: define(null, ["es.number.constructor"]),55 Observable: define("observable/index", ["esnext.observable", "esnext.symbol.observable", "es.object.to-string", ...CommonIteratorsWithTag]),56 Promise: define("promise/index", PromiseDependencies),57 RegExp: define(null, ["es.regexp.constructor", "es.regexp.exec", "es.regexp.to-string"]),58 Set: define("set/index", SetDependencies),59 Symbol: define("symbol/index", SymbolDependencies),60 URL: define("url/index", ["web.url", ...URLSearchParamsDependencies]),61 URLSearchParams: define("url-search-params/index", URLSearchParamsDependencies),62 WeakMap: define("weak-map/index", WeakMapDependencies),63 WeakSet: define("weak-set/index", WeakSetDependencies),64 clearImmediate: define("clear-immediate", ["web.immediate"]),65 compositeKey: define("composite-key", ["esnext.composite-key"]),66 compositeSymbol: define("composite-symbol", ["esnext.composite-symbol"]),67 fetch: define(null, PromiseDependencies),68 globalThis: define("global-this", ["es.global-this"]),69 parseFloat: define("parse-float", ["es.parse-float"]),70 parseInt: define("parse-int", ["es.parse-int"]),71 queueMicrotask: define("queue-microtask", ["web.queue-microtask"]),72 setImmediate: define("set-immediate", ["web.immediate"]),73 setInterval: define("set-interval", ["web.timers"]),74 setTimeout: define("set-timeout", ["web.timers"])75};76exports.BuiltIns = BuiltIns;77const StaticProperties = {78 Array: {79 from: define("array/from", ["es.array.from", "es.string.iterator"]),80 isArray: define("array/is-array", ["es.array.is-array"]),81 of: define("array/of", ["es.array.of"])82 },83 ArrayBuffer: {84 isView: define(null, ["es.array-buffer.is-view"])85 },86 Date: {87 now: define("date/now", ["es.date.now"])88 },89 JSON: {90 stringify: define("json/stringify", [], "es.symbol")91 },92 Math: {93 DEG_PER_RAD: define("math/deg-per-rad", ["esnext.math.deg-per-rad"]),94 RAD_PER_DEG: define("math/rad-per-deg", ["esnext.math.rad-per-deg"]),95 acosh: define("math/acosh", ["es.math.acosh"]),96 asinh: define("math/asinh", ["es.math.asinh"]),97 atanh: define("math/atanh", ["es.math.atanh"]),98 cbrt: define("math/cbrt", ["es.math.cbrt"]),99 clamp: define("math/clamp", ["esnext.math.clamp"]),100 clz32: define("math/clz32", ["es.math.clz32"]),101 cosh: define("math/cosh", ["es.math.cosh"]),102 degrees: define("math/degrees", ["esnext.math.degrees"]),103 expm1: define("math/expm1", ["es.math.expm1"]),104 fround: define("math/fround", ["es.math.fround"]),105 fscale: define("math/fscale", ["esnext.math.fscale"]),106 hypot: define("math/hypot", ["es.math.hypot"]),107 iaddh: define("math/iaddh", ["esnext.math.iaddh"]),108 imul: define("math/imul", ["es.math.imul"]),109 imulh: define("math/imulh", ["esnext.math.imulh"]),110 isubh: define("math/isubh", ["esnext.math.isubh"]),111 log10: define("math/log10", ["es.math.log10"]),112 log1p: define("math/log1p", ["es.math.log1p"]),113 log2: define("math/log2", ["es.math.log2"]),114 radians: define("math/radians", ["esnext.math.radians"]),115 scale: define("math/scale", ["esnext.math.scale"]),116 seededPRNG: define("math/seeded-prng", ["esnext.math.seeded-prng"]),117 sign: define("math/sign", ["es.math.sign"]),118 signbit: define("math/signbit", ["esnext.math.signbit"]),119 sinh: define("math/sinh", ["es.math.sinh"]),120 tanh: define("math/tanh", ["es.math.tanh"]),121 trunc: define("math/trunc", ["es.math.trunc"]),122 umulh: define("math/umulh", ["esnext.math.umulh"])123 },124 Map: {125 from: define(null, ["esnext.map.from", ...MapDependencies]),126 groupBy: define(null, ["esnext.map.group-by", ...MapDependencies]),127 keyBy: define(null, ["esnext.map.key-by", ...MapDependencies]),128 of: define(null, ["esnext.map.of", ...MapDependencies])129 },130 Number: {131 EPSILON: define("number/epsilon", ["es.number.epsilon"]),132 MAX_SAFE_INTEGER: define("number/max-safe-integer", ["es.number.max-safe-integer"]),133 MIN_SAFE_INTEGER: define("number/min-safe-integer", ["es.number.min-safe-integer"]),134 fromString: define("number/from-string", ["esnext.number.from-string"]),135 isFinite: define("number/is-finite", ["es.number.is-finite"]),136 isInteger: define("number/is-integer", ["es.number.is-integer"]),137 isNaN: define("number/is-nan", ["es.number.is-nan"]),138 isSafeInteger: define("number/is-safe-integer", ["es.number.is-safe-integer"]),139 parseFloat: define("number/parse-float", ["es.number.parse-float"]),140 parseInt: define("number/parse-int", ["es.number.parse-int"])141 },142 Object: {143 assign: define("object/assign", ["es.object.assign"]),144 create: define("object/create", ["es.object.create"]),145 defineProperties: define("object/define-properties", ["es.object.define-properties"]),146 defineProperty: define("object/define-property", ["es.object.define-property"]),147 entries: define("object/entries", ["es.object.entries"]),148 freeze: define("object/freeze", ["es.object.freeze"]),149 fromEntries: define("object/from-entries", ["es.object.from-entries", "es.array.iterator"]),150 getOwnPropertyDescriptor: define("object/get-own-property-descriptor", ["es.object.get-own-property-descriptor"]),151 getOwnPropertyDescriptors: define("object/get-own-property-descriptors", ["es.object.get-own-property-descriptors"]),152 getOwnPropertyNames: define("object/get-own-property-names", ["es.object.get-own-property-names"]),153 getOwnPropertySymbols: define("object/get-own-property-symbols", ["es.symbol"]),154 getPrototypeOf: define("object/get-prototype-of", ["es.object.get-prototype-of"]),155 hasOwn: define("object/has-own", ["esnext.object.has-own"]),156 is: define("object/is", ["es.object.is"]),157 isExtensible: define("object/is-extensible", ["es.object.is-extensible"]),158 isFrozen: define("object/is-frozen", ["es.object.is-frozen"]),159 isSealed: define("object/is-sealed", ["es.object.is-sealed"]),160 keys: define("object/keys", ["es.object.keys"]),161 preventExtensions: define("object/prevent-extensions", ["es.object.prevent-extensions"]),162 seal: define("object/seal", ["es.object.seal"]),163 setPrototypeOf: define("object/set-prototype-of", ["es.object.set-prototype-of"]),164 values: define("object/values", ["es.object.values"])165 },166 Promise: {167 all: define(null, PromiseDependenciesWithIterators),168 allSettled: define(null, ["es.promise.all-settled", ...PromiseDependenciesWithIterators]),169 any: define(null, ["es.promise.any", ...PromiseDependenciesWithIterators]),170 race: define(null, PromiseDependenciesWithIterators),171 try: define(null, ["esnext.promise.try", ...PromiseDependenciesWithIterators])172 },173 Reflect: {174 apply: define("reflect/apply", ["es.reflect.apply"]),175 construct: define("reflect/construct", ["es.reflect.construct"]),176 defineMetadata: define("reflect/define-metadata", ["esnext.reflect.define-metadata"]),177 defineProperty: define("reflect/define-property", ["es.reflect.define-property"]),178 deleteMetadata: define("reflect/delete-metadata", ["esnext.reflect.delete-metadata"]),179 deleteProperty: define("reflect/delete-property", ["es.reflect.delete-property"]),180 get: define("reflect/get", ["es.reflect.get"]),181 getMetadata: define("reflect/get-metadata", ["esnext.reflect.get-metadata"]),182 getMetadataKeys: define("reflect/get-metadata-keys", ["esnext.reflect.get-metadata-keys"]),183 getOwnMetadata: define("reflect/get-own-metadata", ["esnext.reflect.get-own-metadata"]),184 getOwnMetadataKeys: define("reflect/get-own-metadata-keys", ["esnext.reflect.get-own-metadata-keys"]),185 getOwnPropertyDescriptor: define("reflect/get-own-property-descriptor", ["es.reflect.get-own-property-descriptor"]),186 getPrototypeOf: define("reflect/get-prototype-of", ["es.reflect.get-prototype-of"]),187 has: define("reflect/has", ["es.reflect.has"]),188 hasMetadata: define("reflect/has-metadata", ["esnext.reflect.has-metadata"]),189 hasOwnMetadata: define("reflect/has-own-metadata", ["esnext.reflect.has-own-metadata"]),190 isExtensible: define("reflect/is-extensible", ["es.reflect.is-extensible"]),191 metadata: define("reflect/metadata", ["esnext.reflect.metadata"]),192 ownKeys: define("reflect/own-keys", ["es.reflect.own-keys"]),193 preventExtensions: define("reflect/prevent-extensions", ["es.reflect.prevent-extensions"]),194 set: define("reflect/set", ["es.reflect.set"]),195 setPrototypeOf: define("reflect/set-prototype-of", ["es.reflect.set-prototype-of"])196 },197 Set: {198 from: define(null, ["esnext.set.from", ...SetDependencies]),199 of: define(null, ["esnext.set.of", ...SetDependencies])200 },201 String: {202 fromCodePoint: define("string/from-code-point", ["es.string.from-code-point"]),203 raw: define("string/raw", ["es.string.raw"])204 },205 Symbol: {206 asyncIterator: define("symbol/async-iterator", ["es.symbol.async-iterator"]),207 dispose: define("symbol/dispose", ["esnext.symbol.dispose"]),208 for: define("symbol/for", [], "es.symbol"),209 hasInstance: define("symbol/has-instance", ["es.symbol.has-instance", "es.function.has-instance"]),210 isConcatSpreadable: define("symbol/is-concat-spreadable", ["es.symbol.is-concat-spreadable", "es.array.concat"]),211 iterator: define("symbol/iterator", ["es.symbol.iterator", ...CommonIteratorsWithTag]),212 keyFor: define("symbol/key-for", [], "es.symbol"),213 match: define("symbol/match", ["es.symbol.match", "es.string.match"]),214 observable: define("symbol/observable", ["esnext.symbol.observable"]),215 patternMatch: define("symbol/pattern-match", ["esnext.symbol.pattern-match"]),216 replace: define("symbol/replace", ["es.symbol.replace", "es.string.replace"]),217 search: define("symbol/search", ["es.symbol.search", "es.string.search"]),218 species: define("symbol/species", ["es.symbol.species", "es.array.species"]),219 split: define("symbol/split", ["es.symbol.split", "es.string.split"]),220 toPrimitive: define("symbol/to-primitive", ["es.symbol.to-primitive", "es.date.to-primitive"]),221 toStringTag: define("symbol/to-string-tag", ["es.symbol.to-string-tag", "es.object.to-string", "es.math.to-string-tag", "es.json.to-string-tag"]),222 unscopables: define("symbol/unscopables", ["es.symbol.unscopables"])223 },224 WeakMap: {225 from: define(null, ["esnext.weak-map.from", ...WeakMapDependencies]),226 of: define(null, ["esnext.weak-map.of", ...WeakMapDependencies])227 },228 WeakSet: {229 from: define(null, ["esnext.weak-set.from", ...WeakSetDependencies]),230 of: define(null, ["esnext.weak-set.of", ...WeakSetDependencies])231 },232 Int8Array: TypedArrayStaticMethods,233 Uint8Array: TypedArrayStaticMethods,234 Uint8ClampedArray: TypedArrayStaticMethods,235 Int16Array: TypedArrayStaticMethods,236 Uint16Array: TypedArrayStaticMethods,237 Int32Array: TypedArrayStaticMethods,238 Uint32Array: TypedArrayStaticMethods,239 Float32Array: TypedArrayStaticMethods,240 Float64Array: TypedArrayStaticMethods241};242exports.StaticProperties = StaticProperties;243const InstanceProperties = {244 at: define("instance/at", ["esnext.string.at", "esnext.array.at", "esnext.typed-array.at"]),245 anchor: define(null, ["es.string.anchor"]),246 big: define(null, ["es.string.big"]),247 bind: define("instance/bind", ["es.function.bind"]),248 blink: define(null, ["es.string.blink"]),249 bold: define(null, ["es.string.bold"]),250 codePointAt: define("instance/code-point-at", ["es.string.code-point-at"]),251 codePoints: define("instance/code-points", ["esnext.string.code-points"]),252 concat: define("instance/concat", ["es.array.concat"], undefined, ["String"]),253 copyWithin: define("instance/copy-within", ["es.array.copy-within"]),254 description: define(null, ["es.symbol", "es.symbol.description"]),255 endsWith: define("instance/ends-with", ["es.string.ends-with"]),256 entries: define("instance/entries", ArrayNatureIteratorsWithTag),257 every: define("instance/every", ["es.array.every"]),258 exec: define(null, ["es.regexp.exec"]),259 fill: define("instance/fill", ["es.array.fill"]),260 filter: define("instance/filter", ["es.array.filter"]),261 finally: define(null, ["es.promise.finally", ...PromiseDependencies]),262 find: define("instance/find", ["es.array.find"]),263 findIndex: define("instance/find-index", ["es.array.find-index"]),264 findLast: define("instance/find-last", ["esnext.array.find-last"]),265 findLastIndex: define("instance/find-last-index", ["esnext.array.find-last-index"]),266 fixed: define(null, ["es.string.fixed"]),267 flags: define("instance/flags", ["es.regexp.flags"]),268 flatMap: define("instance/flat-map", ["es.array.flat-map", "es.array.unscopables.flat-map"]),269 flat: define("instance/flat", ["es.array.flat"]),270 fontcolor: define(null, ["es.string.fontcolor"]),271 fontsize: define(null, ["es.string.fontsize"]),272 forEach: define("instance/for-each", ["es.array.for-each", "web.dom-collections.for-each"]),273 includes: define("instance/includes", ["es.array.includes", "es.string.includes"]),274 indexOf: define("instance/index-of", ["es.array.index-of"]),275 italic: define(null, ["es.string.italics"]),276 join: define(null, ["es.array.join"]),277 keys: define("instance/keys", ArrayNatureIteratorsWithTag),278 lastIndex: define(null, ["esnext.array.last-index"]),279 lastIndexOf: define("instance/last-index-of", ["es.array.last-index-of"]),280 lastItem: define(null, ["esnext.array.last-item"]),281 link: define(null, ["es.string.link"]),282 map: define("instance/map", ["es.array.map"]),283 match: define(null, ["es.string.match", "es.regexp.exec"]),284 matchAll: define("instance/match-all", ["es.string.match-all"]),285 name: define(null, ["es.function.name"]),286 padEnd: define("instance/pad-end", ["es.string.pad-end"]),287 padStart: define("instance/pad-start", ["es.string.pad-start"]),288 reduce: define("instance/reduce", ["es.array.reduce"]),289 reduceRight: define("instance/reduce-right", ["es.array.reduce-right"]),290 repeat: define("instance/repeat", ["es.string.repeat"]),291 replace: define(null, ["es.string.replace", "es.regexp.exec"]),292 replaceAll: define("instance/replace-all", ["es.string.replace-all"]),293 reverse: define("instance/reverse", ["es.array.reverse"]),294 search: define(null, ["es.string.search", "es.regexp.exec"]),295 slice: define("instance/slice", ["es.array.slice"]),296 small: define(null, ["es.string.small"]),297 some: define("instance/some", ["es.array.some"]),298 sort: define("instance/sort", ["es.array.sort"]),299 splice: define("instance/splice", ["es.array.splice"]),300 split: define(null, ["es.string.split", "es.regexp.exec"]),301 startsWith: define("instance/starts-with", ["es.string.starts-with"]),302 strike: define(null, ["es.string.strike"]),303 sub: define(null, ["es.string.sub"]),304 sup: define(null, ["es.string.sup"]),305 toFixed: define(null, ["es.number.to-fixed"]),306 toISOString: define(null, ["es.date.to-iso-string"]),307 toJSON: define(null, ["es.date.to-json", "web.url.to-json"]),308 toPrecision: define(null, ["es.number.to-precision"]),309 toString: define(null, ["es.object.to-string", "es.regexp.to-string", "es.date.to-string"]),310 trim: define("instance/trim", ["es.string.trim"]),311 trimEnd: define("instance/trim-end", ["es.string.trim-end"]),312 trimLeft: define("instance/trim-left", ["es.string.trim-start"]),313 trimRight: define("instance/trim-right", ["es.string.trim-end"]),314 trimStart: define("instance/trim-start", ["es.string.trim-start"]),315 values: define("instance/values", ArrayNatureIteratorsWithTag),316 __defineGetter__: define(null, ["es.object.define-getter"]),317 __defineSetter__: define(null, ["es.object.define-setter"]),318 __lookupGetter__: define(null, ["es.object.lookup-getter"]),319 __lookupSetter__: define(null, ["es.object.lookup-setter"])320};321exports.InstanceProperties = InstanceProperties;322const CommonInstanceDependencies = new Set(["es.object.to-string", "es.object.define-getter", "es.object.define-setter", "es.object.lookup-getter", "es.object.lookup-setter", "es.regexp.exec"]);...
Using AI Code Generation
1var wpt = require('wpt');2var wpt = new WebPageTest('www.webpagetest.org');3 if (err) {4 console.log(err);5 } else {6 console.log(data);7 }8});9var wpt = require('wpt');10var wpt = new WebPageTest('www.webpagetest.org');11 if (err) {12 console.log(err);13 } else {14 console.log(data);15 }16});17var wpt = require('wpt');18var wpt = new WebPageTest('www.webpagetest.org');19 if (err) {20 console.log(err);21 } else {22 console.log(data);23 }24});25var wpt = require('wpt');26var wpt = new WebPageTest('www.webpagetest.org');27 if (err) {28 console.log(err);29 } else {30 console.log(data);31 }32});33var wpt = require('wpt');34var wpt = new WebPageTest('www.webpagetest.org');35 if (err) {36 console.log(err);37 } else {38 console.log(data);39 }40});41var wpt = require('wpt');42var wpt = new WebPageTest('www.webpagetest.org');43 if (err) {44 console.log(err);45 } else {46 console.log(data);47 }48});49var wpt = require('wpt');50var wpt = new WebPageTest('www.webpagetest.org');51 if (err) {
Using AI Code Generation
1define(function(require) {2 var $ = require('jquery');3 var _ = require('underscore');4 var Backbone = require('backbone');5 var Marionette = require('marionette');6 var App = require('app');7 var Layout = require('layout');8 var Router = require('router');9 var Controller = require('controller');10 var app = new App();11 var layout = new Layout();12 app.addRegions({13 });14 app.addInitializer(function() {15 app.mainRegion.show(layout);16 });17 app.on("start", function() {18 if (Backbone.history) {19 Backbone.history.start();20 }21 });22 var router = new Router({23 controller: new Controller({24 })25 });26 app.start();27});28define(function(require) {29 var Marionette = require('marionette');30 var Router = Marionette.AppRouter.extend({31 appRoutes: {32 }33 });34 return Router;35});36define(function(require) {37 var Marionette = require('marionette');38 var Controller = Marionette.Controller.extend({39 initialize: function(options) {40 this.app = options.app;41 },42 index: function() {43 alert('index');44 }45 });46 return Controller;47});48define(function(require) {49 var Marionette = require('marionette');50 var Layout = Marionette.Layout.extend({51 });52 return Layout;53});54define(function(require) {55 var Marionette = require('marionette');56 var App = Marionette.Application.extend({57 initialize: function() {58 console.log("initialize");59 }60 });61 return App;62});63require.config({64 paths: {65 },66 shim: {67 'jquery': {
Using AI Code Generation
1var wpt = require('wpt');2wpt.define('test', function(require, exports, module){3});4var wpt = require('wpt');5wpt.require('test', function(test){6});7var wpt = require('wpt');8wpt.require('test', function(test){9});10var wpt = require('wpt');11wpt.require('test', function(test){12});13var wpt = require('wpt');14wpt.require('test', function(test){15});16var wpt = require('wpt');17wpt.require('test', function(test){18});19var wpt = require('wpt');20wpt.require('test', function(test){21});22var wpt = require('wpt');23wpt.require('test', function(test){24});25var wpt = require('wpt');26wpt.require('test', function(test){27});28var wpt = require('wpt');29wpt.require('test', function(test){30});31var wpt = require('wpt');32wpt.require('test', function(test){33});34var wpt = require('wpt');35wpt.require('test', function(test){36});37var wpt = require('wpt');38wpt.require('test', function(test){39});40var wpt = require('wpt');41wpt.require('test', function(test){42});
Using AI Code Generation
1var wpt = require('wpt');2var wpt = new wpt('API_KEY');3wpt.define(function(err, data) {4 if (err) {5 console.log(err);6 } else {7 console.log(data);8 }9});10wpt.define(function(err, data) {11 if (err) {12 console.log(err);13 } else {14 console.log(data);15 }16});17wpt.define(function(err, data) {18 if (err) {19 console.log(err);20 } else {21 console.log(data);22 }23});24wpt.define(function(err, data) {25 if (err) {26 console.log(err);27 } else {28 console.log(data);29 }30});31wpt.define(function(err, data) {32 if (err) {33 console.log(err);34 } else {35 console.log(data);36 }37});38wpt.define(function(err, data) {39 if (err) {40 console.log(err);41 } else {42 console.log(data);43 }44});45wpt.define(function(err, data) {46 if (err) {47 console.log(err);48 } else {49 console.log(data);50 }51});52wpt.define(function(err, data) {53 if (err) {54 console.log(err);55 } else {56 console.log(data);57 }58});59wpt.define(function(err, data) {60 if (err) {61 console.log(err);62 } else {63 console.log(data);64 }65});66wpt.define(function(err, data) {67 if (err) {68 console.log(err);69 } else {70 console.log(data);71 }72});73wpt.define(function(err, data) {74 if (err) {75 console.log(err);76 } else {77 console.log(data);78 }79});80wpt.define(function
Using AI Code Generation
1define('test', ['jquery', 'underscore'], function ($, _) {2 'use strict';3 var test = function () {4 console.log('test');5 };6 return test;7});8require(['jquery', 'underscore', 'test'], function ($, _, test) {9 'use strict';10 test();11});
Using AI Code Generation
1var wpt = require('wpt');2wpt.define('test', function() {3 return {4 }5});6wpt.use('test', function(test) {7});
Using AI Code Generation
1define(function(){2 return {3 };4});5require(['test'], function(test){6 console.log(test.name);7});8define(function(){9 return {10 };11});12require(['test'], function(test){13 console.log(test.name);14});15define(function(){16 return {17 };18});19require(['test'], function(test){20 console.log(test.name);21});22define(function(){23 return {24 };25});26require(['test'], function(test){27 console.log(test.name);28});29define(function(){30 return {31 };32});33require(['test'], function(test){34 console.log(test.name);35});36define(function(){37 return {38 };39});40require(['test'], function(test){41 console.log(test.name);42});43define(function(){44 return {45 };46});47require(['test'], function(test){48 console.log(test.name);49});50define(function(){51 return {52 };53});54require(['test'], function(test){55 console.log(test.name);56});
Using AI Code Generation
1define('myModule', function() {2 return {3 doStuff: function() {}4 };5});6require(['myModule'], function(myModule) {7 myModule.doStuff();8});9define('myModule', function() {10 return {11 doStuff: function() {}12 };13});14require(['myModule'], function(myModule) {15 myModule.doStuff();16});17define('myModule', function() {18 return {19 doStuff: function() {}20 };21});22require(['myModule'], function(myModule) {23 myModule.doStuff();24});25define('myModule', function() {26 return {27 doStuff: function() {}28 };29});30require(['myModule'], function(myModule) {31 myModule.doStuff();32});33define('myModule', function() {34 return {35 doStuff: function() {}36 };37});38require(['myModule'], function(myModule) {39 myModule.doStuff();40});41define('myModule', function() {42 return {43 doStuff: function() {}44 };45});46require(['myModule'], function(myModule) {47 myModule.doStuff();48});49define('myModule', function() {50 return {51 doStuff: function() {}52 };53});54require(['myModule'], function(myModule) {55 myModule.doStuff();56});57define('myModule', function() {58 return {59 doStuff: function() {}60 };61});62require(['myModule'], function(myModule) {63 myModule.doStuff();64});65define('myModule', function() {66 return {67 doStuff: function() {}68 };69});70require(['myModule'], function(myModule) {71 myModule.doStuff();72});73define('myModule', function() {
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!