CINXE.COM

Git

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="https://static-production.npmjs.com/styles.c617df3efc3b584cc1d7.css" /> <title data-react-helmet="true">@devtea2025/turbo-rotary-phone - npm</title> <meta data-react-helmet="true" http-equiv="cleartype" content="on"/><meta data-react-helmet="true" name="apple-mobile-web-app-capable" content="yes"/><meta data-react-helmet="true" name="mobile-web-app-capable" content="yes"/><meta data-react-helmet="true" name="viewport" content="width=device-width,minimum-scale=1.0,initial-scale=1,user-scalable=yes"/><meta data-react-helmet="true" property="og:image" content="https://static-production.npmjs.com/338e4905a2684ca96e08c7780fc68412.png"/><meta data-react-helmet="true" name="msapplication-TileColor" content="#cb3837"/><meta data-react-helmet="true" name="msapplication-TileImage" content="https://static-production.npmjs.com/7a7ffabbd910fc60161bc04f2cee4160.png"/><meta data-react-helmet="true" name="msapplication-config" content="https://static-production.npmjs.com/668aac888e52ae13cac9cfd71fabd31f.xml"/><meta data-react-helmet="true" name="theme-color" content="#cb3837"/><meta data-react-helmet="true" name="description" content=" . Latest version: 1.0.4, last published: 7 months ago. Start using @devtea2025/turbo-rotary-phone in your project by running `npm i @devtea2025/turbo-rotary-phone`. There are 236 other projects in the npm registry using @devtea2025/turbo-rotary-phone."/><meta data-react-helmet="true" property="og:description" content=" . Latest version: 1.0.4, last published: 7 months ago. Start using @devtea2025/turbo-rotary-phone in your project by running `npm i @devtea2025/turbo-rotary-phone`. There are 236 other projects in the npm registry using @devtea2025/turbo-rotary-phone."/><meta data-react-helmet="true" property="og:title" content="@devtea2025/turbo-rotary-phone"/><meta data-react-helmet="true" property="og:url" content="https://www.npmjs.com/package/@devtea2025/turbo-rotary-phone"/><meta data-react-helmet="true" property="og:site_name" content="npm"/><meta data-react-helmet="true" name="keywords" content="URL,find,karma,description,string,fast-copy,ansi,shim,getOwnPropertyDescriptor,es-shim API,ECMAScript 2017,symbols,colour,from,Microsoft,view,ast,ES2019,fast,sameValueZero,RxJS,rm -fr,tape,npm,reuse,ECMAScript 2022,windows,emoji,operating-system,every,pnpm9,deep,l10n,mimetypes,toSorted,jasmine,URLSearchParams,typeof,call-bind,es2016,omit,matchAll,regexp,inference,array,spinner,exit,reducer,trimEnd,optimizer,hooks,superstruct,module,syntaxerror,browserslist,open,writable,findup,bundler,buffer,take,encryption,require,Object.keys,escape,identifiers,properties,predictable,String.prototype.matchAll,datastructure,package.json,stylesheet,proxy,error,WebSockets,command,ECMAScript 2019,helpers,extend,ES3,syntax,own,joi,runtime,react-hooks,glacier,jshint,authentication,hasOwn,es-shims,wordbreak,parse,shell,prune,setPrototypeOf,characters,indicator,is,vpc,error-handling,some,prototype,typescript,ecmascript,command-line,lockfile,https,json,limit,recursive,fastify,streams,styling,qs,byteLength,postcss-plugin,trimLeft,idle,rm -rf,ie,apollo,css less,sigterm,merge,watching,router,WeakMap,io-ts,RegExp#flags,has,private,eslintconfig,swf,irq,bundling,concat,Array.prototype.findLast,worker,keys,dataView,deterministic,coercible,JSON,flag,eventDispatcher,dom-testing-library,symlinks,mapreduce,ReactiveExtensions,ArrayBuffer#slice,JSON-Schema,tester,Int16Array,which,status,ES2015,sorted,assign,equality,watchFile,rds,test,@@toStringTag,read,middleware,fullwidth,es2018,typed array,promises,shrinkwrap,Int32Array,term,mime-db,toArray,descriptor,entries,in,emit,columns,getPrototypeOf,amazon,query,minimal,starter,typedarrays,BigUint64Array,types,uninstall,spinners,handlers,check,AsyncIterator,callbind,workspace:*,censor,stateless,jsx,debug,classname,dir,xhr,Object.entries,interrupts,resolve,http,circular,format,look-up,args,classes,ec2,bootstrap less,Array.prototype.includes,settings,Uint8Array,object,Observables,linux,walk,uuid,sequence,app,mru,touch,extra,lint,fetch,signal,typanion,Array.prototype.contains,column,deepclone,patch,directory,i18n,WeakSet,globals,core-js,form,debugger,folder,fsevents,nope,jest,Symbol.toStringTag,argument,up,s3,route53,option,class-validator,language,bdd,autoscaling,0,regex,bcrypt,map,Array.prototype.flat,css nesting,core,colors,256,get,utility,Promise,fast-clone,fastclone,optimist,persistent,quote,setImmediate,wrap,bootstrap css,fast-deep-copy,elb,tty,accessor,ES2018,file,typesafe,deep-copy,east-asian-width,jwt,exit-code,chromium,readablestream,Float32Array,type,Rx,vest,serialization,functional,rfc4122,native,ES2021,fs,ECMAScript 2016,traverse,ECMAScript 2020,TypeScript,wait,agent,negative zero,prop,rgb,console,obj,matches,pipe,enumerable,client,beanstalk,toStringTag,shebang,less.js,tdd,protobuf,exec,values,RFC-6455,korean,log,side,api,packages,path,look,tc39,redux,has-own,importexport,cloudsearch,react,node,serializer,Uint8ClampedArray,style,descriptors,replay,tap,lazy,moment,yaml,iam,call-bound,tslib,flat,readable,move,hasOwnProperty,symlink,less mixins,loading,config,pyyaml,cli,crypto,time,compile less,trimRight,deepcopy,install,banner,copy,data,Array.prototype.filter,CSS,byteOffset,setter,findLast,text,plugin,hash,typeerror,intrinsic,TypeBox,formatting,ECMAScript 2021,collection,dependency manager,browserlist,terminal,warning,Array.prototype.flatten,sqs,channel,defineProperty,dom,mime,logger,stream,full-width,filter,metadata,search,names,macos,immer,random,aws,sham,superagent,es2015,curl,Stream,ArrayBuffer.prototype.slice,installer,es,functions,variables,slot,postcss,rangeerror,styles,dynamodb,gradients css3,rm,create,define,concatMap,asserts,sigint,length,lru,queue,name,request,es8,styleguide,art,ES2017,performance,valid,match,url,emr,modules,ArrayBuffer,autoprefixer,events,eslint-plugin,arktype,state,javascript,japanese,accessibility,Object.defineProperty,ES8,argparse,call,internal,prefix,weakset,input,ES2023,findLastIndex,task,clone,a11y,multi-package,web,sns,write,limited,dependencies,progress,jsonpath,throttle,assertion,fixed-width,set,trimStart,ES7,auth,real-time,concurrency,hookform,getter,serialize,buffers,cloudwatch,regular expression,iteration,redact,Symbol,property,bound,output,ES2022,getintrinsic,ava,elm,Float64Array"/><meta data-react-helmet="true" name="twitter:card" content="summary"/><meta data-react-helmet="true" name="twitter:url" content="https://www.npmjs.com/package/@devtea2025/turbo-rotary-phone"/><meta data-react-helmet="true" name="twitter:title" content="npm: @devtea2025/turbo-rotary-phone"/><meta data-react-helmet="true" name="twitter:description" content=" . Latest version: 1.0.4, last published: 7 months ago. Start using @devtea2025/turbo-rotary-phone in your project by running `npm i @devtea2025/turbo-rotary-phone`. There are 236 other projects in the npm registry using @devtea2025/turbo-rotary-phone."/> <link data-react-helmet="true" href="https://static-production.npmjs.com/osd.xml" rel="search" title="npm package search" type="application/opensearchdescription+xml"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="120x120" href="https://static-production.npmjs.com/58a19602036db1daee0d7863c94673a4.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="144x144" href="https://static-production.npmjs.com/7a7ffabbd910fc60161bc04f2cee4160.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="152x152" href="https://static-production.npmjs.com/34110fd7686e2c90a487ca98e7336e99.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="180x180" href="https://static-production.npmjs.com/3dc95981de4241b35cd55fe126ab6b2c.png"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/b0f1a8318363185cc2ea6a40ac23eeb2.png" sizes="32x32"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/1996fcfdf7ca81ea795f67f093d7f449.png" sizes="230x230"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/f1786e9b7cba9753ca7b9c40e8b98f67.png" sizes="96x96"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/5f6e93af5bf0f5dcdd1eecdac99f51ee.png" sizes="192x192"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/c426a1116301d1fd178c51522484127a.png" sizes="228x228"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/da3ab40fb0861d15c83854c29f5f2962.png" sizes="16x16"/> </head> <body> <div id="app"><div class="_452c3ec4 d68c66a8"><div class="cf325dbd list ma0 pa0 tr z-999"><div class="c746cc21 list ma0 pa0 tr z-999"></div></div><div class="flex flex-column vh-100"><header class="_755f5b0f bg-white z-2 bb b--black-20"><div></div><div class="e7070742 pv3-ns ph1-ns bg-white"><div id="header" class="bbefbfcc">skip to:<a aria-label="skip to content" class="d6d0dbcf" href="#main">content</a><a aria-label="skip to package search" class="d6d0dbcf" href="#search">package search</a><a aria-label="skip to sign in" class="d6d0dbcf" href="#signin">sign in</a></div><div class="ef7c6e62 center mw9 border-box ph4-ns ph3 flex items-center"><span class="_0edb515f pr3 dn dib-ns link lh-title dim b--white-30">❤</span><nav class="_4a5f2a79 db w-100 w-auto-ns truncate" aria-label="Product Navigation"><ul id="main-menu" class="list pl0" role="menu" aria-label="Nav Menu"><li role="none" class="dib"><a href="/products/pro" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-pro-link">Pro</a></li><li role="none"><a href="/products/teams" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-teams-link">Teams</a></li><li role="none" class="dib"><a href="/products" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-pricing-link">Pricing</a></li><li role="none" class="dib"><a href="https://docs.npmjs.com" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-docs-link">Documentation</a></li></ul></nav></div></div><div class="_4ea0e50d bt b--black-10"><div class="c5b9953b center mw9 flex flex-wrap ph4-ns border-box"><span class="_657f443d">npm</span><div class="af43375d mt3 db mr4-ns pb3 pb0-ns flex-auto 2-ns ph3 ph0-ns"><a href="/" aria-label="Npm"><svg viewBox="0 0 780 250" aria-hidden="true"><path fill="#231F20" d="M240,250h100v-50h100V0H240V250z M340,50h50v100h-50V50z M480,0v200h100V50h50v150h50V50h50v150h50V0H480z M0,200h100V50h50v150h50V0H0V200z" stroke-width="5" stroke="#f7f7f7"></path></svg></a></div><div id="search" class="_581ebd89 relative flex-auto w-100 w-50-ns pv2-ns order-1-ns order-2"><form id="search" method="GET" action="/search" class="_13c93d41 relative flex bg-transparent ph3 ph2 pv2 ph0-ns pv0-ns bt b--black-10 bn-ns"><div class="e82b10fd relative dde91b96"><div class="_2f299eeb nowrap flex"><span class="_705cdf4f db fl pl3 pr1"><svg width="15px" height="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" aria-hidden="true"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g stroke="#777777" stroke-width="1.3"><g><path d="M13.4044,7.0274 C13.4044,10.5494 10.5494,13.4044 7.0274,13.4044 C3.5054,13.4044 0.6504,10.5494 0.6504,7.0274 C0.6504,3.5054 3.5054,0.6504 7.0274,0.6504 C10.5494,0.6504 13.4044,3.5054 13.4044,7.0274 Z"></path><path d="M11.4913,11.4913 L17.8683,17.8683"></path></g></g></g></svg></span><input type="search" role="combobox" name="q" hotkeys="[object Object]" placeholder="Search packages" aria-label="Search packages" aria-controls="typeahead-list-543026" aria-expanded="false" aria-activedescendant="" inputref="[object Object]" autoComplete="off" class="_390acbc5 f5 fw3 black relative" value="" element="input"/></div><div aria-live="polite" aria-atomic="true" class="_6f20b8d1"></div></div><button type="submit" class="_0da775bb bn pv2 ph4 f6 white pointer bn pv2 ph4 f6 white pointer" aria-label="Search">Search</button><input type="hidden" name="csrftoken" value="GWONMimTu1aevLgmq5C62wm2NaCahnM1kaCsUyeAhiR"/></form></div><div class="_6f31c82b ml3 mt2 mt0-ns pv2-ns flex-auto tr nowrap relative pointer fw6 order-1 order-2-ns"><div class="_1066d9e7 flex items-center self-center pl3"><a href="/signup" id="signup" class="_9752c8b3 pa2 lh-copy br2 f6 no-underline fw5 black dim ph3 mr3">Sign Up</a><a href="/login" id="signin" class="_352269a0 pa1 lh-copy br2 f6 no-underline fw5 black dim">Sign In</a></div></div></div></div></header><main id="main"> <div class="_36ae70e9 flex flex-row flex-wrap pb5 ph3-l mw-100 mt4-ns mt1 center-ns mh1" id="top"><div class="w-100 ph0-l ph3 ph4-m"><h2 class="cd6ce1fd flex flex-row justify-start items-center w-100 fw6 mt3 black dib ma0 tracked-tight no-underline hover-black f3-ns"><span class="_50685029 truncate">@devtea2025/turbo-rotary-phone</span></h2><span class="_76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy">1.0.4<!-- --> • </span><span class="_813b53b2 _76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy">Public</span><span class="_76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy"> • Published <time dateTime="2024-04-30T19:26:34.992Z" title="4/30/2024, 7:26:34 PM">7 months ago</time></span></div><ul class="cfb2a888 flex flex-column flex-row-l w-100 ma0 pa0 mr2 mr0-l list" role="tablist" aria-owns="package-tab-readme package-tab-code package-tab-dependencies package-tab-dependents package-tab-versions"><li class="_8055e658 f5 fw5 tc pointer d9f99065 ac5f7ef8 f4 fw6 black-50" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=readme" aria-selected="true" role="tab" aria-controls="tabpanel-readme" id="package-tab-readme" tabindex="0"><span><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="file-alt" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"></path></svg> Readme</span></a></li><li class="_8055e658 f5 fw5 tc pointer _7aa1ee94" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=code" aria-selected="false" role="tab" aria-controls="tabpanel-explore" id="package-tab-code" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="file-archive" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z"></path></svg>Code <span class="a17280e0"><span class="Label-sc-1t3ykp0-0 hopnJv _22665c13">Beta</span></span></span></a></li><li class="_8055e658 f5 fw5 tc pointer c1f85151" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=dependencies" aria-selected="false" role="tab" aria-controls="tabpanel-dependencies" id="package-tab-dependencies" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cube" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"></path></svg>2 Dependencies</span></a></li><li class="_8055e658 f5 fw5 tc pointer _7cec0316" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=dependents" aria-selected="false" role="tab" aria-controls="tabpanel-dependents" id="package-tab-dependents" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cubes" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"></path></svg>236 Dependents</span></a></li><li class="_8055e658 f5 fw5 tc pointer b4fcfd19" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=versions" aria-selected="false" role="tab" aria-controls="tabpanel-versions" id="package-tab-versions" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="tags" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"></path></svg>3 Versions</span></a></li></ul><div class="_6620a4fd mw8-l mw-100 w-100 w-two-thirds-l ph3-m pt2 pl0-ns pl2"><span><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-readme" aria-labelledby="package-tab-readme" role="tabpanel" data-attribute=""><div class=""><article><div id="readme" class="_704c034e _6d9832ac pr4-ns pl0-ns ph1-m pr3-m pr2"><p><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png"><img src="https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png" alt="logo" style="max-width: 100%;"></a></p> <div align="center"> <p><a href="https://opencollective.com/core-js" rel="nofollow"><img src="https://camo.githubusercontent.com/86f410fe54cedae8c0c2944caa5a336347274788a3612fcbdde30c9567fdeb56/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f616c6c2f62616467652e7376673f6c6162656c3d66756e6472616973696e67" alt="fundraising" data-canonical-src="https://opencollective.com/core-js/all/badge.svg?label=fundraising" style="max-width: 100%;"></a> <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/CONTRIBUTING.md"><img src="https://camo.githubusercontent.com/7f745fb7dd2a22f68fe03adcdb977963ada4c8265675e572c629b29b9b34af2b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e737667" alt="PRs welcome" data-canonical-src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" style="max-width: 100%;"></a> <a href="https://www.npmjs.com/package/core-js" rel="nofollow"><img src="https://camo.githubusercontent.com/03de4904ea2c4cbe0181b73c8d5a3475be716a02575cb8910d9e9750e6a26581/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f636f72652d6a732e737667" alt="version" data-canonical-src="https://img.shields.io/npm/v/core-js.svg" style="max-width: 100%;"></a> <a href="https://npm-stat.com/charts.html?package=core-js&amp;package=@devtea2025/turbo-rotary-phone&amp;package=core-js-compat&amp;from=2014-11-18" rel="nofollow"><img src="https://camo.githubusercontent.com/0f40af556ebcbd9b41d4197485dcd563b77667697d51ef313dfd9eb4126c1b37/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f636f72652d6a732e7376673f6c6162656c3d6e706d25323069253230636f72652d6a73" alt="core-js downloads" data-canonical-src="https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js" style="max-width: 100%;"></a> <a href="https://npm-stat.com/charts.html?package=core-js&amp;package=@devtea2025/turbo-rotary-phone&amp;package=core-js-compat&amp;from=2014-11-18" rel="nofollow"><img src="https://camo.githubusercontent.com/3e5d428be61042f15fed879416d182d2df1b9a5c7960728b892db30f3c53d8d2/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f40646576746561323032352f747572626f2d726f746172792d70686f6e652e7376673f6c6162656c3d6e706d2532306925323040646576746561323032352f747572626f2d726f746172792d70686f6e65" alt="@devtea2025/turbo-rotary-phone downloads" data-canonical-src="https://img.shields.io/npm/dm/@devtea2025/turbo-rotary-phone.svg?label=npm%20i%20@devtea2025/turbo-rotary-phone" style="max-width: 100%;"></a> <a href="https://www.jsdelivr.com/package/npm/core-js-bundle" rel="nofollow"><img src="https://camo.githubusercontent.com/45b9b867cebc2bd395b35452a492aff557b344fb4ff5007f7f36f5fb4a9762cb/68747470733a2f2f646174612e6a7364656c6976722e636f6d2f76312f7061636b6167652f6e706d2f636f72652d6a732d62756e646c652f62616467653f7374796c653d726f756e646564" alt="jsDelivr" data-canonical-src="https://data.jsdelivr.com/v1/package/npm/core-js-bundle/badge?style=rounded" style="max-width: 100%;"></a></p> </div> <div class="markdown-heading"><h2 class="heading-element"><strong>I highly recommend reading this: <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/docs/2023-02-14-so-whats-next.md">So, what's next?</a></strong></h2><a id="user-content-i-highly-recommend-reading-this-so-whats-next" class="anchor" aria-label="Permalink: I highly recommend reading this: So, what's next?" href="#i-highly-recommend-reading-this-so-whats-next"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <blockquote> <p>Modular standard library for JavaScript. Includes polyfills for <a href="#ecmascript">ECMAScript up to 2024</a>: <a href="#ecmascript-promise">promises</a>, <a href="#ecmascript-symbol">symbols</a>, <a href="#ecmascript-collections">collections</a>, iterators, <a href="#ecmascript-typed-arrays">typed arrays</a>, many other features, <a href="#ecmascript-proposals">ECMAScript proposals</a>, <a href="#web-standards">some cross-platform WHATWG / W3C features and proposals</a> like <a href="#url-and-urlsearchparams"><code>URL</code></a>. You can load only required features or use it without global namespace pollution.</p> </blockquote> <p><strong>If you are looking for documentation for obsolete <code>core-js@2</code>, please, check <a href="https://github.com/devtea2025/turbo-rotary-phone/tree/v2">this branch</a>.</strong></p> <div class="markdown-heading"><h2 class="heading-element"><a href="https://github.com/devtea2025/turbo-rotary-phone/tree/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md">core-js@3, babel and a look into the future</a></h2><a id="user-content-core-js3-babel-and-a-look-into-the-future" class="anchor" aria-label="Permalink: core-js@3, babel and a look into the future" href="#core-js3-babel-and-a-look-into-the-future"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="markdown-heading"><h2 class="heading-element">Raising funds</h2><a id="user-content-raising-funds" class="anchor" aria-label="Permalink: Raising funds" href="#raising-funds"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><code>core-js</code> isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer if you are interested in <code>core-js</code>: <a href="https://opencollective.com/core-js" rel="nofollow"><strong>Open Collective</strong></a>, <a href="https://patreon.com/zloirock" rel="nofollow"><strong>Patreon</strong></a>, <a href="https://boosty.to/zloirock" rel="nofollow"><strong>Boosty</strong></a>, <strong>Bitcoin ( bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz )</strong>, <a href="https://user-images.githubusercontent.com/2213682/219464783-c17ad329-17ce-4795-82a7-f609493345ed.png" rel="nofollow"><strong>Alipay</strong></a>.</p> <hr> <p><a href="https://opencollective.com/core-js/sponsor/0/website" rel="nofollow"><img src="https://camo.githubusercontent.com/a938d70176eccb1e1d232b73ce9338e7c6c030156b09464fb37d2dfd293f8dfe/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f302f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/0/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/1/website" rel="nofollow"><img src="https://camo.githubusercontent.com/935dbbd913d5883f71008446d06578deb309204c99f1e3ef59e61fbe9cd34a6c/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f312f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/1/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/2/website" rel="nofollow"><img src="https://camo.githubusercontent.com/abaf443a633cd3df362b06228b0d1abfe2d8125d7b5f264a916e43414e1791c7/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f322f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/2/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/3/website" rel="nofollow"><img src="https://camo.githubusercontent.com/cd0e42f20dfd6daf10cb008a5121f60be5d2786fbdd46befef61a1d13fdccedf/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f332f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/3/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/4/website" rel="nofollow"><img src="https://camo.githubusercontent.com/627fe45420b0f1c3c01b6769b97393b810f96d5da67e835f010840dd6e9d95ec/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f342f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/4/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/5/website" rel="nofollow"><img src="https://camo.githubusercontent.com/17d751b4a64d6ec8014fca04cb60c7e9ee1e064f4d1dac8f4075cf85dd267ad1/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f352f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/5/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/6/website" rel="nofollow"><img src="https://camo.githubusercontent.com/6a6463e0e09690d28580b5cab5f64f0ea983afaf8e6075895479eccb765d9968/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f362f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/6/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/7/website" rel="nofollow"><img src="https://camo.githubusercontent.com/513a09cd9ffe444c293e2b355097a429aa00ca4401e27260030a0e42fb8e656e/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f372f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/7/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/8/website" rel="nofollow"><img src="https://camo.githubusercontent.com/6931743c54c06f182c8b9383a4061a6f21c5f85d4cddee2ab3b7f2e0b0e309a8/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f382f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/8/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/9/website" rel="nofollow"><img src="https://camo.githubusercontent.com/78b10e6cc81e6eb1175f6551c1803dc6f35ad603791c10c6f470a751423cca00/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f392f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/9/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/10/website" rel="nofollow"><img src="https://camo.githubusercontent.com/7cc7fb6c41502d97db643d370a520cc26ab130690ee3f5de64db7af290078014/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f31302f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/10/avatar.svg" style="max-width: 100%;"></a><a href="https://opencollective.com/core-js/sponsor/11/website" rel="nofollow"><img src="https://camo.githubusercontent.com/d7bc8c8d320a6a23a67e3edb8ab91d361940bb4aa5970fbaf0c51a72cd177ffe/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f73706f6e736f722f31312f6176617461722e737667" data-canonical-src="https://opencollective.com/core-js/sponsor/11/avatar.svg" style="max-width: 100%;"></a></p> <hr> <p><a href="https://opencollective.com/core-js#backers" rel="nofollow"><img src="https://camo.githubusercontent.com/88d4616349c8d66d31dfeb4bde08f315a6bf458c2217213a971cdf35ee6a5351/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f636f72652d6a732f6261636b6572732e7376673f77696474683d383930" data-canonical-src="https://opencollective.com/core-js/backers.svg?width=890" style="max-width: 100%;"></a></p> <hr> <p><a href="https://tinyurl.com/2mknex43" rel="nofollow"><em>Example of usage</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">'core-js/actual'</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">union</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">it</span><span class="pl-kos">,</span> <span class="pl-s1">it</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 2, 2]</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">)</span> <span class="pl-k">yield</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [9, 25]</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new Set([1, 2, 3])</span></pre></div> <p><em>You can load only required features</em>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">'core-js/actual/promise'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/actual/set'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/actual/iterator'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/actual/array/from'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/actual/array/flat-map'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/actual/structured-clone'</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">union</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">it</span><span class="pl-kos">,</span> <span class="pl-s1">it</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 2, 2]</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">)</span> <span class="pl-k">yield</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [9, 25]</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new Set([1, 2, 3])</span></pre></div> <p><em>Or use it without global namespace pollution</em>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-v">Promise</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/promise'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/set'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Iterator</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/iterator'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">from</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/array/from'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">flatMap</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/array/flat-map'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">structuredClone</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/structured-clone'</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">union</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5]</span> <span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">it</span><span class="pl-kos">,</span> <span class="pl-s1">it</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 2, 2]</span> <span class="pl-v">Iterator</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">)</span> <span class="pl-k">yield</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [9, 25]</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new Set([1, 2, 3])</span></pre></div> <div class="markdown-heading"><h3 class="heading-element">Index</h3><a id="user-content-index" class="anchor" aria-label="Permalink: Index" href="#index"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li> <a href="#usage">Usage</a> <ul> <li><a href="#installation">Installation</a></li> <li><a href="#postinstall-message"><code>postinstall</code> message</a></li> <li><a href="#commonjs-api">CommonJS API</a></li> <li> <a href="#babel">Babel</a> <ul> <li><a href="#babelpolyfill"><code>@babel/polyfill</code></a></li> <li><a href="#babelpreset-env"><code>@babel/preset-env</code></a></li> <li><a href="#babelruntime"><code>@babel/runtime</code></a></li> </ul> </li> <li><a href="#swc">swc</a></li> <li><a href="#configurable-level-of-aggressiveness">Configurable level of aggressiveness</a></li> <li><a href="#custom-build">Custom build</a></li> </ul> </li> <li><a href="#supported-engines-and-compatibility-data">Supported engines and compatibility data</a></li> <li> <a href="#features">Features</a> <ul> <li> <a href="#ecmascript">ECMAScript</a> <ul> <li><a href="#ecmascript-object">ECMAScript: Object</a></li> <li><a href="#ecmascript-function">ECMAScript: Function</a></li> <li><a href="#ecmascript-error">ECMAScript: Error</a></li> <li><a href="#ecmascript-array">ECMAScript: Array</a></li> <li><a href="#ecmascript-string-and-regexp">ECMAScript: String and RegExp</a></li> <li><a href="#ecmascript-number">ECMAScript: Number</a></li> <li><a href="#ecmascript-math">ECMAScript: Math</a></li> <li><a href="#ecmascript-date">ECMAScript: Date</a></li> <li><a href="#ecmascript-promise">ECMAScript: Promise</a></li> <li><a href="#ecmascript-symbol">ECMAScript: Symbol</a></li> <li><a href="#ecmascript-collections">ECMAScript: Collections</a></li> <li><a href="#ecmascript-typed-arrays">ECMAScript: Typed Arrays</a></li> <li><a href="#ecmascript-reflect">ECMAScript: Reflect</a></li> <li><a href="#ecmascript-json">ECMAScript: JSON</a></li> <li><a href="#ecmascript-globalthis">ECMAScript: globalThis</a></li> </ul> </li> <li> <a href="#ecmascript-proposals">ECMAScript proposals</a> <ul> <li> <a href="#finished-proposals">Finished proposals</a> <ul> <li><a href="#globalthis"><code>globalThis</code></a></li> <li><a href="#relative-indexing-method">Relative indexing method</a></li> <li><a href="#arrayprototypeincludes"><code>Array.prototype.includes</code></a></li> <li><a href="#arrayprototypeflat--arrayprototypeflatmap"><code>Array.prototype.flat</code> / <code>Array.prototype.flatMap</code></a></li> <li><a href="#array-find-from-last"><code>Array</code> find from last</a></li> <li><a href="#change-array-by-copy">Change <code>Array</code> by copy</a></li> <li><a href="#array-grouping"><code>Array</code> grouping</a></li> <li><a href="#arraybufferprototypetransfer-and-friends"><code>ArrayBuffer.prototype.transfer</code> and friends</a></li> <li><a href="#objectvalues--objectentries"><code>Object.values</code> / <code>Object.entries</code></a></li> <li><a href="#objectfromentries"><code>Object.fromEntries</code></a></li> <li><a href="#objectgetownpropertydescriptors"><code>Object.getOwnPropertyDescriptors</code></a></li> <li><a href="#accessible-objectprototypehasownproperty">Accessible <code>Object.prototype.hasOwnProperty</code></a></li> <li><a href="#string-padding"><code>String</code> padding</a></li> <li><a href="#stringmatchall"><code>String.prototype.matchAll</code></a></li> <li><a href="#stringreplaceall"><code>String.prototype.replaceAll</code></a></li> <li><a href="#stringprototypetrimstart-stringprototypetrimend"><code>String.prototype.trimStart</code> / <code>String.prototype.trimEnd</code></a></li> <li><a href="#regexp-s-dotall-flag"><code>RegExp</code> <code>s</code> (<code>dotAll</code>) flag</a></li> <li><a href="#regexp-named-capture-groups"><code>RegExp</code> named capture groups</a></li> <li><a href="#promiseallsettled"><code>Promise.allSettled</code></a></li> <li><a href="#promiseany"><code>Promise.any</code></a></li> <li><a href="#promiseprototypefinally"><code>Promise.prototype.finally</code></a></li> <li><a href="#promisewithresolvers"><code>Promise.withResolvers</code></a></li> <li><a href="#symbolasynciterator-for-asynchronous-iteration"><code>Symbol.asyncIterator</code> for asynchronous iteration</a></li> <li><a href="#symbolprototypedescription"><code>Symbol.prototype.description</code></a></li> <li><a href="#well-formed-jsonstringify">Well-formed <code>JSON.stringify</code></a></li> <li><a href="#well-formed-unicode-strings">Well-formed unicode strings</a></li> <li><a href="#new-set-methods">New <code>Set</code> methods</a></li> </ul> </li> <li> <a href="#stage-3-proposals">Stage 3 proposals</a> <ul> <li><a href="#iterator-helpers"><code>Iterator</code> helpers</a></li> <li><a href="#arrayfromasync"><code>Array.fromAsync</code></a></li> <li><a href="#jsonparse-source-text-access"><code>JSON.parse</code> source text access</a></li> <li><a href="#float16-methods"><code>Float16</code> methods</a></li> <li><a href="#uint8array-to--from-base64-and-hex"><code>Uint8Array</code> to / from base64 and hex</a></li> <li><a href="#explicit-resource-management">Explicit resource management</a></li> <li><a href="#symbolmetadata-for-decorators-metadata-proposal"><code>Symbol.metadata</code> for decorators metadata proposal</a></li> </ul> </li> <li> <a href="#stage-27-proposals">Stage 2.7 proposals</a> <ul> <li><a href="#promisetry"><code>Promise.try</code></a></li> <li><a href="#mathsumprecise"><code>Math.sumPrecise</code></a></li> </ul> </li> <li> <a href="#stage-2-proposals">Stage 2 proposals</a> <ul> <li><a href="#asynciterator-helpers"><code>AsyncIterator</code> helpers</a></li> <li><a href="#iteratorrange"><code>Iterator.range</code></a></li> <li><a href="#mapprototypeemplace"><code>Map.prototype.emplace</code></a></li> <li><a href="#arrayistemplateobject"><code>Array.isTemplateObject</code></a></li> <li><a href="#stringdedent"><code>String.dedent</code></a></li> <li><a href="#regexp-escaping"><code>RegExp</code> escaping</a></li> <li><a href="#symbol-predicates"><code>Symbol</code> predicates</a></li> </ul> </li> <li> <a href="#stage-1-proposals">Stage 1 proposals</a> <ul> <li><a href="#observable"><code>Observable</code></a></li> <li><a href="#new-collections-methods">New collections methods</a></li> <li><a href="#of-and-from-methods-on-collection-constructors"><code>.of</code> and <code>.from</code> methods on collection constructors</a></li> <li><a href="#compositekey-and-compositesymbol"><code>compositeKey</code> and <code>compositeSymbol</code></a></li> <li><a href="#array-filtering"><code>Array</code> filtering</a></li> <li><a href="#array-deduplication"><code>Array</code> deduplication</a></li> <li><a href="#dataview-get-set-iint8clamped-methods"><code>DataView</code> get / set <code>Uint8Clamped</code> methods</a></li> <li><a href="#numberfromstring"><code>Number.fromString</code></a></li> <li><a href="#stringcooked"><code>String.cooked</code></a></li> <li><a href="#stringprototypecodepoints"><code>String.prototype.codePoints</code></a></li> <li><a href="#symbolcustommatcher-for-pattern-matching"><code>Symbol.customMatcher</code> for pattern matching</a></li> <li><a href="#symbolcustommatcher-for-extractors"><code>Symbol.customMatcher</code> for extractors</a></li> </ul> </li> <li> <a href="#stage-0-proposals">Stage 0 proposals</a> <ul> <li><a href="#functionprototypedemethodize"><code>Function.prototype.demethodize</code></a></li> <li><a href="#function-iscallable-isconstructor-"><code>Function.{ isCallable, isConstructor }</code></a></li> </ul> </li> <li> <a href="#pre-stage-0-proposals">Pre-stage 0 proposals</a> <ul> <li><a href="#reflect-metadata"><code>Reflect</code> metadata</a></li> </ul> </li> </ul> </li> <li> <a href="#web-standards">Web standards</a> <ul> <li><a href="#self"><code>self</code></a></li> <li><a href="#structuredclone"><code>structuredClone</code></a></li> <li><a href="#base64-utility-methods">Base64 utility methods</a></li> <li><a href="#settimeout-and-setinterval"><code>setTimeout</code> and <code>setInterval</code></a></li> <li><a href="#setimmediate"><code>setImmediate</code></a></li> <li><a href="#queuemicrotask"><code>queueMicrotask</code></a></li> <li><a href="#url-and-urlsearchparams"><code>URL</code> and <code>URLSearchParams</code></a></li> <li><a href="#domexception"><code>DOMException</code></a></li> <li><a href="#iterable-dom-collections">iterable DOM collections</a></li> </ul> </li> <li><a href="#iteration-helpers">Iteration helpers</a></li> </ul> </li> <li><a href="#missing-polyfills">Missing polyfills</a></li> <li><a href="https://github.com/devtea2025/turbo-rotary-phone/blob/HEAD/CONTRIBUTING.md">Contributing</a></li> <li><a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/SECURITY.md">Security policy</a></li> <li><a href="https://github.com/devtea2025/turbo-rotary-phone/blob/HEAD/CHANGELOG.md">Changelog</a></li> </ul> <div class="markdown-heading"><h2 class="heading-element">Usage<a href="#index">⬆</a> </h2><a id="user-content-usage" class="anchor" aria-label="Permalink: Usage⬆" href="#usage"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="markdown-heading"><h3 class="heading-element">Installation:<a href="#index">⬆</a> </h3><a id="user-content-installation" class="anchor" aria-label="Permalink: Installation:⬆" href="#installation"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-shell"><pre>// global version npm install --save core-js@3.37.0 // version without global namespace pollution npm install --save @devtea2025/turbo-rotary-phone@3.37.0 // bundled global version npm install --save core-js-bundle@3.37.0</pre></div> <p>Or you can use <code>core-js</code> <a href="https://www.jsdelivr.com/package/npm/core-js-bundle" rel="nofollow">from CDN</a>.</p> <div class="markdown-heading"><h3 class="heading-element"> <code>postinstall</code> message<a href="#index">⬆</a> </h3><a id="user-content-postinstall-message" class="anchor" aria-label="Permalink: postinstall message⬆" href="#postinstall-message"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>The <code>core-js</code> project needs your help, so the package shows a message about it after installation. If it causes problems for you, you can disable it:</p> <div class="highlight highlight-source-shell"><pre>ADBLOCK=true npm install // or DISABLE_OPENCOLLECTIVE=true npm install // or npm install --loglevel silent</pre></div> <div class="markdown-heading"><h3 class="heading-element">CommonJS API<a href="#index">⬆</a> </h3><a id="user-content-commonjs-api" class="anchor" aria-label="Permalink: CommonJS API⬆" href="#commonjs-api"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>You can import only-required-for-you polyfills, like in examples at the top of <code>README.md</code>. Available CommonJS entry points for all polyfilled methods / constructors and namespaces. Just some examples:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">// polyfill all `core-js` features, including early-stage proposals:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js"</span><span class="pl-kos">;</span> <span class="pl-c">// or:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/full"</span><span class="pl-kos">;</span> <span class="pl-c">// polyfill all actual features - stable ES, web standards and stage 3 ES proposals:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/actual"</span><span class="pl-kos">;</span> <span class="pl-c">// polyfill only stable features - ES and web standards:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/stable"</span><span class="pl-kos">;</span> <span class="pl-c">// polyfill only stable ES features:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/es"</span><span class="pl-kos">;</span> <span class="pl-c">// if you want to polyfill `Set`:</span> <span class="pl-c">// all `Set`-related features, with early-stage ES proposals:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/full/set"</span><span class="pl-kos">;</span> <span class="pl-c">// stable required for `Set` ES features, features from web standards and stage 3 ES proposals:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/actual/set"</span><span class="pl-kos">;</span> <span class="pl-c">// stable required for `Set` ES features and features from web standards</span> <span class="pl-c">// (DOM collections iterator in this case):</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/stable/set"</span><span class="pl-kos">;</span> <span class="pl-c">// only stable ES features required for `Set`:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/es/set"</span><span class="pl-kos">;</span> <span class="pl-c">// the same without global namespace pollution:</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">"@devtea2025/turbo-rotary-phone/full/set"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">"@devtea2025/turbo-rotary-phone/actual/set"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">"@devtea2025/turbo-rotary-phone/stable/set"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">"@devtea2025/turbo-rotary-phone/es/set"</span><span class="pl-kos">;</span> <span class="pl-c">// if you want to polyfill just required methods:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/full/set/intersection"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/actual/array/find-last"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/stable/queue-microtask"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/es/array/from"</span><span class="pl-kos">;</span> <span class="pl-c">// polyfill iterator helpers proposal:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/proposals/iterator-helpers"</span><span class="pl-kos">;</span> <span class="pl-c">// polyfill all stage 2+ proposals:</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/stage/2"</span><span class="pl-kos">;</span></pre></div> <p><strong>Note: The usage of the <code>/actual/</code> namespace is recommended since it includes all actual JavaScript features and does not include unstable early-stage proposals that are available mainly for experiments.</strong></p> <div class="markdown-heading"><h5 class="heading-element">Caveats when using CommonJS API:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-commonjs-api" class="anchor" aria-label="Permalink: Caveats when using CommonJS API:⬆" href="#caveats-when-using-commonjs-api"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li> <code>modules</code> path is an internal API, does not inject all required dependencies and can be changed in minor or patch releases. Use it only for a custom build and/or if you know what are you doing.</li> <li>If you use <code>core-js</code> with the extension of native objects, recommended load all <code>core-js</code> modules at the top of the entry point of your application, otherwise, you can have conflicts. <ul> <li>For example, Google Maps use their own <code>Symbol.iterator</code>, conflicting with <code>Array.from</code>, <code>URLSearchParams</code> and/or something else from <code>core-js</code>, see <a href="https://github.com/devtea2025/turbo-rotary-phone/search?q=Google+Maps&amp;type=Issues">related issues</a>.</li> <li>Such conflicts also resolvable by discovering and manual adding each conflicting entry from <code>core-js</code>.</li> </ul> </li> <li> <code>core-js</code> is extremely modular and uses a lot of very tiny modules, because of that for usage in browsers bundle up <code>core-js</code> instead of usage loader for each file, otherwise, you will have hundreds of requests.</li> </ul> <div class="markdown-heading"><h4 class="heading-element">CommonJS and prototype methods without global namespace pollution<a href="#index">⬆</a> </h4><a id="user-content-commonjs-and-prototype-methods-without-global-namespace-pollution" class="anchor" aria-label="Permalink: CommonJS and prototype methods without global namespace pollution⬆" href="#commonjs-and-prototype-methods-without-global-namespace-pollution"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>In the <code>pure</code> version, we can't pollute prototypes of native constructors. Because of that, prototype methods transformed into static methods like in examples above. But with transpilers, we can use one more trick - <a href="https://github.com/tc39/proposal-bind-operator">bind operator and virtual methods</a>. Special for that, available <code>/virtual/</code> entry points. Example:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s1">fill</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/array/virtual/fill'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">findIndex</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/array/virtual/find-index'</span><span class="pl-kos">;</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span>::<span class="pl-s1">fill</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">b</span> <span class="pl-c1">*</span> <span class="pl-s1">b</span><span class="pl-kos">)</span>::<span class="pl-s1">findIndex</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-c1">!</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">8</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span></pre></div> <blockquote> <p><strong>Warning!</strong> The bind operator is an early-stage ECMAScript proposal and usage of this syntax can be dangerous.</p> </blockquote> <div class="markdown-heading"><h3 class="heading-element">Babel<a href="#index">⬆</a> </h3><a id="user-content-babel" class="anchor" aria-label="Permalink: Babel⬆" href="#babel"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><code>core-js</code> is integrated with <code>babel</code> and is the base for polyfilling-related <code>babel</code> features:</p> <div class="markdown-heading"><h4 class="heading-element"> <code>@babel/polyfill</code><a href="#index">⬆</a> </h4><a id="user-content-babelpolyfill" class="anchor" aria-label="Permalink: @babel/polyfill⬆" href="#babelpolyfill"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://babeljs.io/docs/usage/polyfill" rel="nofollow"><code>@babel/polyfill</code></a> <a href="https://github.com/babel/babel/blob/c8bb4500326700e7dc68ce8c4b90b6482c48d82f/packages/babel-polyfill/src/index.js"><strong>IS</strong> just the import of stable <code>core-js</code> features and <code>regenerator-runtime</code></a> for generators and async functions, so if you load <code>@babel/polyfill</code> - you load the global version of <code>core-js</code> without ES proposals.</p> <p>Now it's deprecated in favour of separate inclusion of required parts of <code>core-js</code> and <code>regenerator-runtime</code> and, for preventing breaking changes, left on <code>core-js@2</code>.</p> <p>As a full equal of <code>@babel/polyfill</code>, you can use this:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">'core-js/stable'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'regenerator-runtime/runtime'</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>@babel/preset-env</code><a href="#index">⬆</a> </h4><a id="user-content-babelpreset-env" class="anchor" aria-label="Permalink: @babel/preset-env⬆" href="#babelpreset-env"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://github.com/babel/babel/tree/master/packages/babel-preset-env"><code>@babel/preset-env</code></a> has <code>useBuiltIns</code> option, which optimizes working with global version of <code>core-js</code>. With <code>useBuiltIns</code> option, you should also set <code>corejs</code> option to used version of <code>core-js</code>, like <code>corejs: '3.37'</code>.</p> <blockquote> <p><strong>Warning!</strong> Recommended to specify used minor <code>core-js</code> version, like <code>corejs: '3.37'</code>, instead of <code>corejs: 3</code>, since with <code>corejs: 3</code> will not be injected modules which were added in minor <code>core-js</code> releases.</p> </blockquote> <ul> <li> <code>useBuiltIns: 'entry'</code> replaces imports of <code>core-js</code> to import only required for a target environment modules. So, for example,</li> </ul> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">'core-js/stable'</span><span class="pl-kos">;</span></pre></div> <p>with <code>chrome 71</code> target will be replaced just to:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.array.unscopables.flat"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.array.unscopables.flat-map"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.object.from-entries"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/web.immediate"</span><span class="pl-kos">;</span></pre></div> <p>It works for all entry points of global version of <code>core-js</code> and their combinations, for example for</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">'core-js/es'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/proposals/set-methods'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/full/set/map'</span><span class="pl-kos">;</span></pre></div> <p>with <code>chrome 71</code> target you will have as a result:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.array.unscopables.flat"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.array.unscopables.flat-map"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/es.object.from-entries"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.difference"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.intersection"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.is-disjoint-from"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.is-subset-of"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.is-superset-of"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.map"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.symmetric-difference"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"core-js/modules/esnext.set.union"</span><span class="pl-kos">;</span></pre></div> <ul> <li> <code>useBuiltIns: 'usage'</code> adds to the top of each file import of polyfills for features used in this file and not supported by target environments, so for:</li> </ul> <div class="highlight highlight-source-js"><pre><span class="pl-c">// first file:</span> <span class="pl-k">var</span> <span class="pl-s1">set</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// second file:</span> <span class="pl-k">var</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>if target contains an old environment like <code>IE 11</code> we will have something like:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">// first file:</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/modules/es.array.iterator'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/modules/es.object.to-string'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/modules/es.set'</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">set</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// second file:</span> <span class="pl-k">import</span> <span class="pl-s">'core-js/modules/es.array.of'</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>By default, <code>@babel/preset-env</code> with <code>useBuiltIns: 'usage'</code> option only polyfills stable features, but you can enable polyfilling of proposals by <code>proposals</code> option, as <code>corejs: { version: '3.37', proposals: true }</code>.</p> <blockquote> <p><strong>Warning!</strong> In the case of <code>useBuiltIns: 'usage'</code>, you should not add <code>core-js</code> imports by yourself, they will be added automatically.</p> </blockquote> <div class="markdown-heading"><h4 class="heading-element"> <code>@babel/runtime</code><a href="#index">⬆</a> </h4><a id="user-content-babelruntime" class="anchor" aria-label="Permalink: @babel/runtime⬆" href="#babelruntime"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://babeljs.io/docs/plugins/transform-runtime/" rel="nofollow"><code>@babel/runtime</code></a> with <code>corejs: 3</code> option simplifies work with <code>@devtea2025/turbo-rotary-phone</code>. It automatically replaces usage of modern features from JS standard library to imports from the version of <code>core-js</code> without global namespace pollution, so instead of:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s1">from</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/stable/array/from'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">flat</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/stable/array/flat'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Set</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/stable/set'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">Promise</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/stable/promise'</span><span class="pl-kos">;</span> <span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">flat</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">32</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>you can write just:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flat</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">32</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>By default, <code>@babel/runtime</code> only polyfills stable features, but like in <code>@babel/preset-env</code>, you can enable polyfilling of proposals by <code>proposals</code> option, as <code>corejs: { version: 3, proposals: true }</code>.</p> <blockquote> <p><strong>Warning!</strong> If you use <code>@babel/preset-env</code> and <code>@babel/runtime</code> together, use <code>corejs</code> option only in one place since it's duplicate functionality and will cause conflicts.</p> </blockquote> <div class="markdown-heading"><h3 class="heading-element">swc<a href="#index">⬆</a> </h3><a id="user-content-swc" class="anchor" aria-label="Permalink: swc⬆" href="#swc"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Fast JavaScript transpiler <code>swc</code> <a href="https://swc.rs/docs/configuration/supported-browsers" rel="nofollow">contains integration with <code>core-js</code></a>, that optimizes work with the global version of <code>core-js</code>. <a href="#babelpreset-env">Like <code>@babel/preset-env</code></a>, it has 2 modes: <code>usage</code> and <code>entry</code>, but <code>usage</code> mode still works not so good like in <code>babel</code>. Example of configuration in <code>.swcrc</code>:</p> <div class="highlight highlight-source-json"><pre>{ <span class="pl-ent">"env"</span>: { <span class="pl-ent">"targets"</span>: <span class="pl-s"><span class="pl-pds">"</span>&gt; 0.25%, not dead<span class="pl-pds">"</span></span>, <span class="pl-ent">"mode"</span>: <span class="pl-s"><span class="pl-pds">"</span>entry<span class="pl-pds">"</span></span>, <span class="pl-ent">"coreJs"</span>: <span class="pl-s"><span class="pl-pds">"</span>3.37<span class="pl-pds">"</span></span> } }</pre></div> <div class="markdown-heading"><h3 class="heading-element">Configurable level of aggressiveness<a href="#index">⬆</a> </h3><a id="user-content-configurable-level-of-aggressiveness" class="anchor" aria-label="Permalink: Configurable level of aggressiveness⬆" href="#configurable-level-of-aggressiveness"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>By default, <code>core-js</code> sets polyfills only when they are required. That means that <code>core-js</code> checks if a feature is available and works correctly or not and if it has no problems, <code>core-js</code> use native implementation.</p> <p>But sometimes <code>core-js</code> feature detection could be too strict for your case. For example, <code>Promise</code> constructor requires the support of unhandled rejection tracking and <code>@@species</code>.</p> <p>Sometimes we could have inverse problem - knowingly broken environment with problems not covered by <code>core-js</code> feature detection.</p> <p>For those cases, we could redefine this behaviour for certain polyfills:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">configurator</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/configurator'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">configurator</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">useNative</span>: <span class="pl-kos">[</span><span class="pl-s">'Promise'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">// polyfills will be used only if natives completely unavailable</span> <span class="pl-c1">usePolyfill</span>: <span class="pl-kos">[</span><span class="pl-s">'Array.from'</span><span class="pl-kos">,</span> <span class="pl-s">'String.prototype.padEnd'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">// polyfills will be used anyway</span> <span class="pl-c1">useFeatureDetection</span>: <span class="pl-kos">[</span><span class="pl-s">'Map'</span><span class="pl-kos">,</span> <span class="pl-s">'Set'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c">// default behaviour</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/actual'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>It does not work with some features. Also, if you change the default behaviour, even <code>core-js</code> internals may not work correctly.</p> <div class="markdown-heading"><h3 class="heading-element">Custom build<a href="#index">⬆</a> </h3><a id="user-content-custom-build" class="anchor" aria-label="Permalink: Custom build⬆" href="#custom-build"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>For some cases could be useful to exclude some <code>core-js</code> features or generate a polyfill for target engines. You could use <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/HEAD/packages/core-js-builder"><code>core-js-builder</code></a> package for that.</p> <div class="markdown-heading"><h2 class="heading-element">Supported engines and compatibility data<a href="#index">⬆</a> </h2><a id="user-content-supported-engines-and-compatibility-data" class="anchor" aria-label="Permalink: Supported engines and compatibility data⬆" href="#supported-engines-and-compatibility-data"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><code>core-js</code> tries to support all possible JS engines and environments with ES3 support. Some features have a higher lower bar - for example, <em>some</em> accessors can properly work only from ES5, promises require a way to set a microtask or a task, etc.</p> <p>However, I have no possibility to test <code>core-js</code> absolutely everywhere - for example, testing in IE7- and some other ancient was stopped. The list of definitely supported engines you can see in the compatibility table by the link below. <a href="https://github.com/devtea2025/turbo-rotary-phone/issues">Write</a> if you have issues or questions with the support of any engine.</p> <p><code>core-js</code> project provides (as <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/HEAD/packages/core-js-compat"><code>core-js-compat</code></a> package) all required data about the necessity of <code>core-js</code> modules, entry points, and tools for work with it - it's useful for integration with tools like <code>babel</code> or <code>swc</code>. If you wanna help, you could take a look at the related section of <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/HEAD/CONTRIBUTING.md#how-to-update-core-js-compat-data"><code>CONTRIBUTING.md</code></a>. The visualization of compatibility data and the browser tests runner is available <a href="http://zloirock.github.io/core-js/compat/" rel="nofollow">here</a>, the example:</p> <p><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2213682/217452234-ccdcfc5a-c7d3-40d1-ab3f-86902315b8c3.png"><img src="https://user-images.githubusercontent.com/2213682/217452234-ccdcfc5a-c7d3-40d1-ab3f-86902315b8c3.png" alt="compat-table" style="max-width: 100%;"></a></p> <div class="markdown-heading"><h2 class="heading-element">Features:<a href="#index">⬆</a> </h2><a id="user-content-features" class="anchor" aria-label="Permalink: Features:⬆" href="#features"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure) </code></pre> <div class="markdown-heading"><h3 class="heading-element">ECMAScript<a href="#index">⬆</a> </h3><a id="user-content-ecmascript" class="anchor" aria-label="Permalink: ECMAScript⬆" href="#ecmascript"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es </code></pre> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Object<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-object" class="anchor" aria-label="Permalink: ECMAScript: Object⬆" href="#ecmascript-object"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.assign.js"><code>es.object.assign</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.create.js"><code>es.object.create</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.define-getter.js"><code>es.object.define-getter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.define-property.js"><code>es.object.define-property</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.define-properties.js"><code>es.object.define-properties</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.define-setter.js"><code>es.object.define-setter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.entries.js"><code>es.object.entries</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.freeze.js"><code>es.object.freeze</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.from-entries.js"><code>es.object.from-entries</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.get-own-property-descriptor.js"><code>es.object.get-own-property-descriptor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.get-own-property-descriptors.js"><code>es.object.get-own-property-descriptors</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.get-own-property-names.js"><code>es.object.get-own-property-names</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.get-prototype-of.js"><code>es.object.get-prototype-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.group-by.js"><code>es.object.group-by</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.has-own.js"><code>es.object.has-own</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.is.js"><code>es.object.is</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.is-extensible.js"><code>es.object.is-extensible</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.is-frozen.js"><code>es.object.is-frozen</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.is-sealed.js"><code>es.object.is-sealed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.keys.js"><code>es.object.keys</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.lookup-setter.js"><code>es.object.lookup-setter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.lookup-getter.js"><code>es.object.lookup-getter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.prevent-extensions.js"><code>es.object.prevent-extensions</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.proto.js"><code>es.object.proto</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.to-string.js"><code>es.object.to-string</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.seal.js"><code>es.object.seal</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.set-prototype-of.js"><code>es.object.set-prototype-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.object.values.js"><code>es.object.values</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix: @@toStringTag support</span> <span class="pl-c1">__defineGetter__</span><span class="pl-kos">(</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">getter</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">__defineSetter__</span><span class="pl-kos">(</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">setter</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">__lookupGetter__</span><span class="pl-kos">(</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">__lookupSetter__</span><span class="pl-kos">(</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">__proto__</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-c">// required a way setting of prototype - will not in IE10-, it's for modern engines like Deno</span> <span class="pl-k">static</span> <span class="pl-c1">assign</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> ...<span class="pl-s1">sources</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-v">Object</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">create</span><span class="pl-kos">(</span><span class="pl-s1">prototype</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-s1">properties</span>?: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-c1">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">defineProperties</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">properties</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">attributes</span>: <span class="pl-v">PropertyDescriptor</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">mixed</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">freeze</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">fromEntries</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">getOwnPropertyDescriptor</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-en">getOwnPropertyDescriptors</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">getOwnPropertyNames</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-en">groupBy</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">key</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">hasOwn</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">is</span><span class="pl-kos">(</span><span class="pl-s1">value1</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value2</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isExtensible</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isFrozen</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isSealed</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">preventExtensions</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">seal</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">prototype</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c">// required __proto__ - IE11+</span> <span class="pl-k">static</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/object core-js(-pure)/es|stable|actual|full/object/assign core-js(-pure)/es|stable|actual|full/object/is core-js(-pure)/es|stable|actual|full/object/set-prototype-of core-js(-pure)/es|stable|actual|full/object/get-prototype-of core-js(-pure)/es|stable|actual|full/object/create core-js(-pure)/es|stable|actual|full/object/define-property core-js(-pure)/es|stable|actual|full/object/define-properties core-js(-pure)/es|stable|actual|full/object/get-own-property-descriptor core-js(-pure)/es|stable|actual|full/object/get-own-property-descriptors core-js(-pure)/es|stable|actual|full/object/group-by core-js(-pure)/es|stable|actual|full/object/has-own core-js(-pure)/es|stable|actual|full/object/keys core-js(-pure)/es|stable|actual|full/object/values core-js(-pure)/es|stable|actual|full/object/entries core-js(-pure)/es|stable|actual|full/object/get-own-property-names core-js(-pure)/es|stable|actual|full/object/freeze core-js(-pure)/es|stable|actual|full/object/from-entries core-js(-pure)/es|stable|actual|full/object/seal core-js(-pure)/es|stable|actual|full/object/prevent-extensions core-js/es|stable|actual|full/object/proto core-js(-pure)/es|stable|actual|full/object/is-frozen core-js(-pure)/es|stable|actual|full/object/is-sealed core-js(-pure)/es|stable|actual|full/object/is-extensible core-js/es|stable|actual|full/object/to-string core-js(-pure)/es|stable|actual|full/object/define-getter core-js(-pure)/es|stable|actual|full/object/define-setter core-js(-pure)/es|stable|actual|full/object/lookup-getter core-js(-pure)/es|stable|actual|full/object/lookup-setter </code></pre> <p><em>Examples</em>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">q</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">w</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">bar</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">e</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">r</span>: <span class="pl-c1">4</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">baz</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">t</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">y</span>: <span class="pl-c1">6</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">assign</span><span class="pl-kos">(</span><span class="pl-s1">foo</span><span class="pl-kos">,</span> <span class="pl-s1">bar</span><span class="pl-kos">,</span> <span class="pl-s1">baz</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; foo = { q: 1, w: 2, e: 3, r: 4, t: 5, y: 6 }</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">is</span><span class="pl-kos">(</span><span class="pl-v">NaN</span><span class="pl-kos">,</span> <span class="pl-v">NaN</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">is</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">-</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">is</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">is</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">,</span> <span class="pl-s">'42'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-k">function</span> <span class="pl-v">Parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-v">Parent</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">new</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-v">Child</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">new</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-v">Parent</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">let</span> <span class="pl-s1">object</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">toStringTag</span><span class="pl-kos">]</span>: <span class="pl-s">'Foo'</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s">''</span> <span class="pl-c1">+</span> <span class="pl-s1">object</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '[object Foo]'</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-s">'qwe'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['0', '1', '2']</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s">'qwe'</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">c</span>: <span class="pl-c1">3</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">c</span>: <span class="pl-c1">3</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [['a', 1], ['b', 2], ['c', 3]]</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">c</span>: <span class="pl-c1">3</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-kos">}</span> <span class="pl-c">// Shallow object cloning with prototype and descriptors:</span> <span class="pl-k">let</span> <span class="pl-s1">copy</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span><span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getOwnPropertyDescriptors</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Mixin:</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperties</span><span class="pl-kos">(</span><span class="pl-s1">target</span><span class="pl-kos">,</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getOwnPropertyDescriptors</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Map</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">fromEntries</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; { a: 1, b: 2 }</span> <span class="pl-k">class</span> <span class="pl-v">Unit</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">id</span> <span class="pl-c1">=</span> <span class="pl-s1">id</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s">`unit<span class="pl-s1"><span class="pl-kos">${</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">id</span> <span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">units</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-k">new</span> <span class="pl-v">Unit</span><span class="pl-kos">(</span><span class="pl-c1">101</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-k">new</span> <span class="pl-v">Unit</span><span class="pl-kos">(</span><span class="pl-c1">102</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">fromEntries</span><span class="pl-kos">(</span><span class="pl-s1">units</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; { unit101: Unit { id: 101 }, unit102: Unit { id: 102 } }</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">hasOwn</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-c1">42</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">hasOwn</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-c1">42</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">hasOwn</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">'toString'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">groupBy</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; { 1: [1, 3, 5], 0: [2, 4] }</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Function<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-function" class="anchor" aria-label="Permalink: ECMAScript: Function⬆" href="#ecmascript-function"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.function.name.js"><code>es.function.name</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.function.has-instance.js"><code>es.function.has-instance</code></a>. Just ES5: <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.function.bind.js"><code>es.function.bind</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Function</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">bind</span><span class="pl-kos">(</span><span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> ...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">Function</span><span class="pl-kos">;</span> @@<span class="pl-en">hasInstance</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/es|stable|actual|full/function core-js/es|stable|actual|full/function/name core-js/es|stable|actual|full/function/has-instance core-js(-pure)/es|stable|actual|full/function/bind core-js(-pure)/es|stable|actual|full/function/virtual/bind </code></pre> <p><a href="https://goo.gl/zqu3Wp" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c">// =&gt; 'foo'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">43</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42 43</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Error<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-error" class="anchor" aria-label="Permalink: ECMAScript: Error⬆" href="#ecmascript-error"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.aggregate-error.js"><code>es.aggregate-error</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.aggregate-error.cause.js"><code>es.aggregate-error.cause</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.error.cause.js"><code>es.error.cause</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.error.to-string.js"><code>es.error.to-string</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-kos">[</span> <span class="pl-v">Error</span><span class="pl-kos">,</span> <span class="pl-v">EvalError</span><span class="pl-kos">,</span> <span class="pl-v">RangeError</span><span class="pl-kos">,</span> <span class="pl-v">ReferenceError</span><span class="pl-kos">,</span> <span class="pl-v">SyntaxError</span><span class="pl-kos">,</span> <span class="pl-v">TypeError</span><span class="pl-kos">,</span> <span class="pl-v">URIError</span><span class="pl-kos">,</span> <span class="pl-v">WebAssembly</span><span class="pl-kos">.</span><span class="pl-c1">CompileError</span><span class="pl-kos">,</span> <span class="pl-v">WebAssembly</span><span class="pl-kos">.</span><span class="pl-c1">LinkError</span><span class="pl-kos">,</span> <span class="pl-v">WebAssembly</span><span class="pl-kos">.</span><span class="pl-c1">RuntimeError</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos"></span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">message</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">cause</span>: <span class="pl-s1">any</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">Error</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">AggregateError</span> <span class="pl-k">extends</span> <span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">errors</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">message</span>?: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">cause</span>: <span class="pl-s1">any</span> <span class="pl-kos">}</span>?<span class="pl-kos">)</span>: <span class="pl-c1">AggregateError</span><span class="pl-kos">;</span> <span class="pl-c1">errors</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">message</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">cause</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c">// different fixes</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/aggregate-error core-js/es|stable|actual|full/error core-js/es|stable|actual|full/error/constructor core-js/es|stable|actual|full/error/to-string </code></pre> <p><a href="https://is.gd/1SufcH" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">error1</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">TypeError</span><span class="pl-kos">(</span><span class="pl-s">'Error 1'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">error2</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">TypeError</span><span class="pl-kos">(</span><span class="pl-s">'Error 2'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">aggregate</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">AggregateError</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">error1</span><span class="pl-kos">,</span> <span class="pl-s1">error2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">'Collected errors'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">aggregate</span><span class="pl-kos">.</span><span class="pl-c1">errors</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span> <span class="pl-c1">===</span> <span class="pl-s1">error1</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s1">aggregate</span><span class="pl-kos">.</span><span class="pl-c1">errors</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span> <span class="pl-c1">===</span> <span class="pl-s1">error2</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">const</span> <span class="pl-s1">cause</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">TypeError</span><span class="pl-kos">(</span><span class="pl-s">'Something wrong'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">error</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">TypeError</span><span class="pl-kos">(</span><span class="pl-s">'Here explained what`s wrong'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> cause <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">error</span><span class="pl-kos">.</span><span class="pl-c1">cause</span> <span class="pl-c1">===</span> <span class="pl-s1">cause</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Error</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">toString</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">message</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-s">'2: 1'</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Array<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-array" class="anchor" aria-label="Permalink: ECMAScript: Array⬆" href="#ecmascript-array"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.from.js"><code>es.array.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.is-array.js"><code>es.array.is-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.of.js"><code>es.array.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.copy-within.js"><code>es.array.copy-within</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.fill.js"><code>es.array.fill</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.find.js"><code>es.array.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.find-index.js"><code>es.array.find-index</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.find-last.js"><code>es.array.find-last</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.find-last-index.js"><code>es.array.find-last-index</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.iterator.js"><code>es.array.iterator</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.includes.js"><code>es.array.includes</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.push.js"><code>es.array.push</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.slice.js"><code>es.array.slice</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.join.js"><code>es.array.join</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.unshift.js"><code>es.array.unshift</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.index-of.js"><code>es.array.index-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.last-index-of.js"><code>es.array.last-index-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.every.js"><code>es.array.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.some.js"><code>es.array.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.for-each.js"><code>es.array.for-each</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.map.js"><code>es.array.map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.filter.js"><code>es.array.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.reduce.js"><code>es.array.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.reduce-right.js"><code>es.array.reduce-right</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.reverse.js"><code>es.array.reverse</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.sort.js"><code>es.array.sort</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.flat.js"><code>es.array.flat</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.flat-map.js"><code>es.array.flat-map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.unscopables.flat.js"><code>es.array.unscopables.flat</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.unscopables.flat-map.js"><code>es.array.unscopables.flat-map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.at.js"><code>es.array.at</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.to-reversed.js"><code>es.array.to-reversed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.to-sorted.js"><code>es.array.to-sorted</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.to-spliced.js"><code>es.array.to-spliced</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array.with.js"><code>es.array.with</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">concat</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// with adding support of @@isConcatSpreadable and @@species</span> <span class="pl-c1">copyWithin</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">start</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">fill</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// with adding support of @@species</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">findLast</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findLastIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">flat</span><span class="pl-kos">(</span><span class="pl-s1">depthArg</span>?: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">join</span><span class="pl-kos">(</span><span class="pl-s1">separator</span>: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">','</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">index</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">lastIndexOf</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-c1">map</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// with adding support of @@species</span> <span class="pl-c1">push</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">reduce</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">reduceRight</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">reverse</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c">// Safari 12.0 bug fix</span> <span class="pl-c1">slice</span><span class="pl-kos">(</span><span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// with adding support of @@species</span> <span class="pl-c1">splice</span><span class="pl-kos">(</span><span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">deleteCount</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> ...<span class="pl-s1">items</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// with adding support of @@species</span> <span class="pl-c1">some</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">sort</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c">// with modern behavior like stable sort</span> <span class="pl-c1">toReversed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">toSpliced</span><span class="pl-kos">(</span><span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">deleteCount</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> ...<span class="pl-s1">items</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">toSorted</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">unshift</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">with</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">includes</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-c1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-s1">unscopables</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">newMethodNames</span>: <span class="pl-s1">string</span><span class="pl-kos">]</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-en">static</span> <span class="pl-s1">from</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span> <span class="pl-c1">|</span> <span class="pl-v">ArrayLike</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos"></span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=</span><span class="pl-c1">&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">static</span> <span class="pl-s1">isArray</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-s1">static</span> <span class="pl-s1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Arguments</span> <span class="pl-kos">{</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-c1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c">// available only in core-js methods</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/array core-js(-pure)/es|stable|actual|full/array/from core-js(-pure)/es|stable|actual|full/array/of core-js(-pure)/es|stable|actual|full/array/is-array core-js(-pure)/es|stable|actual|full/array(/virtual)/at core-js(-pure)/es|stable|actual|full/array(/virtual)/concat core-js(-pure)/es|stable|actual|full/array(/virtual)/copy-within core-js(-pure)/es|stable|actual|full/array(/virtual)/entries core-js(-pure)/es|stable|actual|full/array(/virtual)/every core-js(-pure)/es|stable|actual|full/array(/virtual)/fill core-js(-pure)/es|stable|actual|full/array(/virtual)/filter core-js(-pure)/es|stable|actual|full/array(/virtual)/find core-js(-pure)/es|stable|actual|full/array(/virtual)/find-index core-js(-pure)/es|stable|actual|full/array(/virtual)/find-last core-js(-pure)/es|stable|actual|full/array(/virtual)/find-last-index core-js(-pure)/es|stable|actual|full/array(/virtual)/flat core-js(-pure)/es|stable|actual|full/array(/virtual)/flat-map core-js(-pure)/es|stable|actual|full/array(/virtual)/for-each core-js(-pure)/es|stable|actual|full/array(/virtual)/includes core-js(-pure)/es|stable|actual|full/array(/virtual)/index-of core-js(-pure)/es|stable|actual|full/array(/virtual)/iterator core-js(-pure)/es|stable|actual|full/array(/virtual)/join core-js(-pure)/es|stable|actual|full/array(/virtual)/keys core-js(-pure)/es|stable|actual|full/array(/virtual)/last-index-of core-js(-pure)/es|stable|actual|full/array(/virtual)/map core-js(-pure)/es|stable|actual|full/array(/virtual)/push core-js(-pure)/es|stable|actual|full/array(/virtual)/reduce core-js(-pure)/es|stable|actual|full/array(/virtual)/reduce-right core-js(-pure)/es|stable|actual|full/array(/virtual)/reverse core-js(-pure)/es|stable|actual|full/array(/virtual)/slice core-js(-pure)/es|stable|actual|full/array(/virtual)/some core-js(-pure)/es|stable|actual|full/array(/virtual)/sort core-js(-pure)/es|stable|actual|full/array(/virtual)/splice core-js(-pure)/es|stable|actual|full/array(/virtual)/to-reversed core-js(-pure)/es|stable|actual|full/array(/virtual)/to-sorted core-js(-pure)/es|stable|actual|full/array(/virtual)/to-spliced core-js(-pure)/es|stable|actual|full/array(/virtual)/unshift core-js(-pure)/es|stable|actual|full/array(/virtual)/values core-js(-pure)/es|stable|actual|full/array(/virtual)/with </code></pre> <p><a href="https://tinyurl.com/2oaa8x2x" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">0</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">2</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">length</span>: <span class="pl-c1">3</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s">'123'</span><span class="pl-kos">,</span> <span class="pl-v">Number</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s">'123'</span><span class="pl-kos">,</span> <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">*</span> <span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 4, 9]</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1]</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-k">let</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-s">'c'</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">array</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">of</span> <span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0, 1, 2</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0, 1, 2</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">isOdd</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">value</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">15</span><span class="pl-kos">,</span> <span class="pl-c1">16</span><span class="pl-kos">,</span> <span class="pl-c1">23</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">find</span><span class="pl-kos">(</span><span class="pl-s1">isOdd</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 15</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">15</span><span class="pl-kos">,</span> <span class="pl-c1">16</span><span class="pl-kos">,</span> <span class="pl-c1">23</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">findIndex</span><span class="pl-kos">(</span><span class="pl-s1">isOdd</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">findLast</span><span class="pl-kos">(</span><span class="pl-s1">isOdd</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">findLastIndex</span><span class="pl-kos">(</span><span class="pl-s1">isOdd</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">fill</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [42, 42, 42, 42, 42]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">copyWithin</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [4, 5, 3, 4, 5]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-kos">[</span><span class="pl-v">NaN</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-v">NaN</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; -1</span> <span class="pl-kos">[</span><span class="pl-v">NaN</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-v">NaN</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-c1">undefined</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; -1</span> <span class="pl-v">Array</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-c1">undefined</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flat</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flat</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, [3, [4]], 5]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flat</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5]</span> <span class="pl-kos">[</span><span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">4</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">b</span>: <span class="pl-c1">6</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">it</span><span class="pl-kos">.</span><span class="pl-c1">a</span><span class="pl-kos">,</span> <span class="pl-s1">it</span><span class="pl-kos">.</span><span class="pl-c1">b</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4, 5, 6]</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-k">const</span> <span class="pl-s1">sequence</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-s1">sequence</span><span class="pl-kos">.</span><span class="pl-en">toReversed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [3, 2, 1]</span> <span class="pl-s1">sequence</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-k">const</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-s1">array</span><span class="pl-kos">.</span><span class="pl-en">toSpliced</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">,</span> <span class="pl-c1">7</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 5, 6, 7, 4]</span> <span class="pl-s1">array</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4]</span> <span class="pl-k">const</span> <span class="pl-s1">outOfOrder</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-s1">outOfOrder</span><span class="pl-kos">.</span><span class="pl-en">toSorted</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-s1">outOfOrder</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [3, 1, 2]</span> <span class="pl-k">const</span> <span class="pl-s1">correctionNeeded</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-s1">correctionNeeded</span><span class="pl-kos">.</span><span class="pl-en">with</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-s1">correctionNeeded</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 3]</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: String and RegExp<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-string-and-regexp" class="anchor" aria-label="Permalink: ECMAScript: String and RegExp⬆" href="#ecmascript-string-and-regexp"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>The main part of <code>String</code> features: modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.from-code-point.js"><code>es.string.from-code-point</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.raw.js"><code>es.string.raw</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.iterator.js"><code>es.string.iterator</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.split.js"><code>es.string.split</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.code-point-at.js"><code>es.string.code-point-at</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.ends-with.js"><code>es.string.ends-with</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.includes.js"><code>es.string.includes</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.repeat.js"><code>es.string.repeat</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.pad-start.js"><code>es.string.pad-start</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.pad-end.js"><code>es.string.pad-end</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.starts-with.js"><code>es.string.starts-with</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.trim.js"><code>es.string.trim</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.trim-start.js"><code>es.string.trim-start</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.trim-end.js"><code>es.string.trim-end</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.match-all.js"><code>es.string.match-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.replace-all.js"><code>es.string.replace-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.at-alternative.js"><code>es.string.at-alternative</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.is-well-formed.js"><code>es.string.is-well-formed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.to-well-formed.js"><code>es.string.to-well-formed</code></a>.</p> <p>Adding support of well-known <a href="#ecmascript-symbol">symbols</a> <code>@@match</code>, <code>@@replace</code>, <code>@@search</code> and <code>@@split</code> and direct <code>.exec</code> calls to related <code>String</code> methods, modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.match.js"><code>es.string.match</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.replace.js"><code>es.string.replace</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.search.js"><code>es.string.search</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.split.js"><code>es.string.split</code></a>.</p> <p>Annex B methods. Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.anchor.js"><code>es.string.anchor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.big.js"><code>es.string.big</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.blink.js"><code>es.string.blink</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.bold.js"><code>es.string.bold</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.fixed.js"><code>es.string.fixed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.fontcolor.js"><code>es.string.fontcolor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.fontsize.js"><code>es.string.fontsize</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.italics.js"><code>es.string.italics</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.link.js"><code>es.string.link</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.small.js"><code>es.string.small</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.strike.js"><code>es.string.strike</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.sub.js"><code>es.string.sub</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.sup.js"><code>es.string.sup</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.string.substr.js"><code>es.string.substr</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.escape.js"><code>es.escape</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.unescape.js"><code>es.unescape</code></a>.</p> <p><code>RegExp</code> features: modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.regexp.constructor.js"><code>es.regexp.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.regexp.dot-all.js"><code>es.regexp.dot-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.regexp.flags.js"><code>es.regexp.flags</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.regexp.sticky.js"><code>es.regexp.sticky</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.regexp.test.js"><code>es.regexp.test</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">fromCodePoint</span><span class="pl-kos">(</span>...<span class="pl-s1">codePoints</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">number</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">raw</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">raw</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> ...<span class="pl-s1">substitutions</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchString</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">position</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">startsWith</span><span class="pl-kos">(</span><span class="pl-s1">searchString</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">position</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">endsWith</span><span class="pl-kos">(</span><span class="pl-s1">searchString</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">position</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">repeat</span><span class="pl-kos">(</span><span class="pl-s1">count</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">padStart</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">fillStr</span>?: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">' '</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">padEnd</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">fillStr</span>?: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">' '</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">codePointAt</span><span class="pl-kos">(</span><span class="pl-s1">pos</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">match</span><span class="pl-kos">(</span><span class="pl-s1">template</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix for support @@match</span> <span class="pl-c1">matchAll</span><span class="pl-kos">(</span><span class="pl-s1">regexp</span>: <span class="pl-v">RegExp</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-kos">;</span> <span class="pl-c1">replace</span><span class="pl-kos">(</span><span class="pl-s1">template</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">replacer</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix for support @@replace</span> <span class="pl-c1">replaceAll</span><span class="pl-kos">(</span><span class="pl-s1">searchValue</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-v">RegExp</span><span class="pl-kos">,</span> <span class="pl-s1">replaceString</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-kos">(</span><span class="pl-s1">searchValue</span><span class="pl-kos">,</span> <span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-s1">this</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">search</span><span class="pl-kos">(</span><span class="pl-s1">template</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix for support @@search</span> <span class="pl-c1">split</span><span class="pl-kos">(</span><span class="pl-s1">template</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">limit</span>?: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix for support @@split, some fixes for old engines</span> <span class="pl-c1">trim</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimLeft</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimRight</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimStart</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimEnd</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">isWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">toWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">anchor</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">big</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">blink</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">bold</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">fixed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">fontcolor</span><span class="pl-kos">(</span><span class="pl-s1">color</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">fontsize</span><span class="pl-kos">(</span><span class="pl-s1">size</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">italics</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">link</span><span class="pl-kos">(</span><span class="pl-s1">url</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">small</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">strike</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">sub</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">substr</span><span class="pl-kos">(</span><span class="pl-s1">start</span>: <span class="pl-s1">int</span><span class="pl-kos">,</span> <span class="pl-s1">length</span>?: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">sup</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-c1">characters</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">RegExp</span> <span class="pl-kos">{</span> <span class="pl-c">// support of sticky (`y`) flag, dotAll (`s`) flag, named capture groups, can alter flags</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">pattern</span>: <span class="pl-v">RegExp</span> <span class="pl-c1">|</span> <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">flags</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-v">RegExp</span><span class="pl-kos">;</span> <span class="pl-c1">exec</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-c1">undefined</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-c">// IE8 fixes</span> <span class="pl-c1">test</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c">// delegation to `.exec`</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c">// ES2015+ fix - generic</span> @@<span class="pl-en">match</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">Array</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> @@<span class="pl-en">matchAll</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-kos">;</span> @@<span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">replaceValue</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> @@<span class="pl-en">search</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> @@<span class="pl-en">split</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">limit</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">Array</span><span class="pl-c1">&lt;</span><span class="pl-c1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">dotAll</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c">// IE9+</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">flags</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c">// IE9+</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">sticky</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c">// IE9+</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-s1">escape</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">unescape</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/string core-js(-pure)/es|stable|actual|full/string/from-code-point core-js(-pure)/es|stable|actual|full/string/raw core-js/es|stable|actual|full/string/match core-js/es|stable|actual|full/string/replace core-js/es|stable|actual|full/string/search core-js/es|stable|actual|full/string/split core-js(-pure)/es|stable|actual/string(/virtual)/at core-js(-pure)/es|stable|actual|full/string(/virtual)/code-point-at core-js(-pure)/es|stable|actual|full/string(/virtual)/ends-with core-js(-pure)/es|stable|actual|full/string(/virtual)/includes core-js(-pure)/es|stable|actual|full/string(/virtual)/starts-with core-js(-pure)/es|stable|actual|full/string(/virtual)/match-all core-js(-pure)/es|stable|actual|full/string(/virtual)/pad-start core-js(-pure)/es|stable|actual|full/string(/virtual)/pad-end core-js(-pure)/es|stable|actual|full/string(/virtual)/repeat core-js(-pure)/es|stable|actual|full/string(/virtual)/replace-all core-js(-pure)/es|stable|actual|full/string(/virtual)/trim core-js(-pure)/es|stable|actual|full/string(/virtual)/trim-start core-js(-pure)/es|stable|actual|full/string(/virtual)/trim-end core-js(-pure)/es|stable|actual|full/string(/virtual)/trim-left core-js(-pure)/es|stable|actual|full/string(/virtual)/trim-right core-js(-pure)/es|stable|actual|full/string(/virtual)/is-well-formed core-js(-pure)/es|stable|actual|full/string(/virtual)/to-well-formed core-js(-pure)/es|stable|actual|full/string(/virtual)/anchor core-js(-pure)/es|stable|actual|full/string(/virtual)/big core-js(-pure)/es|stable|actual|full/string(/virtual)/blink core-js(-pure)/es|stable|actual|full/string(/virtual)/bold core-js(-pure)/es|stable|actual|full/string(/virtual)/fixed core-js(-pure)/es|stable|actual|full/string(/virtual)/fontcolor core-js(-pure)/es|stable|actual|full/string(/virtual)/fontsize core-js(-pure)/es|stable|actual|full/string(/virtual)/italics core-js(-pure)/es|stable|actual|full/string(/virtual)/link core-js(-pure)/es|stable|actual|full/string(/virtual)/small core-js(-pure)/es|stable|actual|full/string(/virtual)/strike core-js(-pure)/es|stable|actual|full/string(/virtual)/sub core-js(-pure)/es|stable|actual|full/string(/virtual)/substr core-js(-pure)/es|stable|actual|full/string(/virtual)/sup core-js(-pure)/es|stable|actual|full/string(/virtual)/iterator core-js/es|stable|actual|full/regexp core-js/es|stable|actual|full/regexp/constructor core-js/es|stable|actual|full/regexp/dot-all core-js(-pure)/es|stable|actual|full/regexp/flags core-js/es|stable|actual|full/regexp/sticky core-js/es|stable|actual|full/regexp/test core-js/es|stable|actual|full/regexp/to-string core-js/es|stable|actual|full/escape core-js/es|stable|actual|full/unescape </code></pre> <p><a href="https://tinyurl.com/22uafm3p" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s">'a𠮷b'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', '𠮷', 'b'</span> <span class="pl-kos">}</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">startsWith</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">startsWith</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">endsWith</span><span class="pl-kos">(</span><span class="pl-s">'baz'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'foobarbaz'</span><span class="pl-kos">.</span><span class="pl-en">endsWith</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'string'</span><span class="pl-kos">.</span><span class="pl-en">repeat</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'stringstringstring'</span> <span class="pl-s">'hello'</span><span class="pl-kos">.</span><span class="pl-en">padStart</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ' hello'</span> <span class="pl-s">'hello'</span><span class="pl-kos">.</span><span class="pl-en">padStart</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-s">'1234'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '12341hello'</span> <span class="pl-s">'hello'</span><span class="pl-kos">.</span><span class="pl-en">padEnd</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'hello '</span> <span class="pl-s">'hello'</span><span class="pl-kos">.</span><span class="pl-en">padEnd</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-s">'1234'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'hello12341'</span> <span class="pl-s">'𠮷'</span><span class="pl-kos">.</span><span class="pl-en">codePointAt</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 134071</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">fromCodePoint</span><span class="pl-kos">(</span><span class="pl-c1">97</span><span class="pl-kos">,</span> <span class="pl-c1">134071</span><span class="pl-kos">,</span> <span class="pl-c1">98</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a𠮷b'</span> <span class="pl-k">let</span> <span class="pl-s1">name</span> <span class="pl-c1">=</span> <span class="pl-s">'Bob'</span><span class="pl-kos">;</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">raw</span><span class="pl-s">`Hi\n<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">name</span><span class="pl-kos">}</span></span>!`</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Hi\\nBob!' (ES2015 template string syntax)</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">raw</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">raw</span>: <span class="pl-s">'test'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 't0e1s2t'</span> <span class="pl-s">'foo'</span><span class="pl-kos">.</span><span class="pl-en">bold</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '&lt;b&gt;foo&lt;/b&gt;'</span> <span class="pl-s">'bar'</span><span class="pl-kos">.</span><span class="pl-en">anchor</span><span class="pl-kos">(</span><span class="pl-s">'a"b'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '&lt;a name="a&amp;quot;b"&gt;bar&lt;/a&gt;'</span> <span class="pl-s">'baz'</span><span class="pl-kos">.</span><span class="pl-en">link</span><span class="pl-kos">(</span><span class="pl-s">'https://example.com'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '&lt;a href="https://example.com"&gt;baz&lt;/a&gt;'</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'.'</span><span class="pl-kos">,</span> <span class="pl-s">'s'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'\n'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'.'</span><span class="pl-kos">,</span> <span class="pl-s">'s'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">dotAll</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'foo:(?&lt;foo&gt;\\w+),bar:(?&lt;bar&gt;\\w+)'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">exec</span><span class="pl-kos">(</span><span class="pl-s">'foo:abc,bar:def'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">groups</span><span class="pl-kos">.</span><span class="pl-c1">bar</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'def'</span> <span class="pl-s">'foo:abc,bar:def'</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'foo:(?&lt;foo&gt;\\w+),bar:(?&lt;bar&gt;\\w+)'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s">'$&lt;bar&gt;,$&lt;foo&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'def,abc'</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">'m'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; /./m</span> <span class="pl-pds"><span class="pl-c1">/</span>foo<span class="pl-c1">/</span></span><span class="pl-kos">.</span><span class="pl-c1">flags</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ''</span> <span class="pl-pds"><span class="pl-c1">/</span>foo<span class="pl-c1">/</span>gim</span><span class="pl-kos">.</span><span class="pl-c1">flags</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'gim'</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-s">'y'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">sticky</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">const</span> <span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s">'First line\nSecond line'</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">regex</span> <span class="pl-c1">=</span> <span class="pl-v">RegExp</span><span class="pl-kos">(</span><span class="pl-s">'(\\S+) line\\n?'</span><span class="pl-kos">,</span> <span class="pl-s">'y'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">regex</span><span class="pl-kos">.</span><span class="pl-en">exec</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'First'</span> <span class="pl-s1">regex</span><span class="pl-kos">.</span><span class="pl-en">exec</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Second'</span> <span class="pl-s1">regex</span><span class="pl-kos">.</span><span class="pl-en">exec</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; null</span> <span class="pl-s">'foo'</span><span class="pl-kos">.</span><span class="pl-en">match</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">match</span><span class="pl-kos">]</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1</span> <span class="pl-s">'foo'</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">replace</span><span class="pl-kos">]</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2</span> <span class="pl-s">'foo'</span><span class="pl-kos">.</span><span class="pl-en">search</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">search</span><span class="pl-kos">]</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">3</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-s">'foo'</span><span class="pl-kos">.</span><span class="pl-en">split</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">split</span><span class="pl-kos">]</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">4</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-v">RegExp</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">toString</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">source</span>: <span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-c1">flags</span>: <span class="pl-s">'bar'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '/foo/bar'</span> <span class="pl-s">' hello '</span><span class="pl-kos">.</span><span class="pl-en">trimLeft</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'hello '</span> <span class="pl-s">' hello '</span><span class="pl-kos">.</span><span class="pl-en">trimRight</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ' hello'</span> <span class="pl-s">' hello '</span><span class="pl-kos">.</span><span class="pl-en">trimStart</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'hello '</span> <span class="pl-s">' hello '</span><span class="pl-kos">.</span><span class="pl-en">trimEnd</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ' hello'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">_</span><span class="pl-kos">,</span> <span class="pl-s1">d</span><span class="pl-kos">,</span> <span class="pl-v">D</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s">'1111a2b3cccc'</span><span class="pl-kos">.</span><span class="pl-en">matchAll</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>(\d)(\D)<span class="pl-c1">/</span>g</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">,</span> <span class="pl-v">D</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1 a, 2 b, 3 c</span> <span class="pl-kos">}</span> <span class="pl-s">'Test abc test test abc test.'</span><span class="pl-kos">.</span><span class="pl-en">replaceAll</span><span class="pl-kos">(</span><span class="pl-s">'abc'</span><span class="pl-kos">,</span> <span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// -&gt; 'Test foo test test foo test.'</span> <span class="pl-s">'abc'</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'b'</span> <span class="pl-s">'abc'</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'c'</span> <span class="pl-s">'a💩b'</span><span class="pl-kos">.</span><span class="pl-en">isWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s">'a\uD83Db'</span><span class="pl-kos">.</span><span class="pl-en">isWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-s">'a💩b'</span><span class="pl-kos">.</span><span class="pl-en">toWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a💩b'</span> <span class="pl-s">'a\uD83Db'</span><span class="pl-kos">.</span><span class="pl-en">toWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a�b'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Number<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-number" class="anchor" aria-label="Permalink: ECMAScript: Number⬆" href="#ecmascript-number"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.constructor.js"><code>es.number.constructor</code></a>. <code>Number</code> constructor support binary and octal literals, <a href="https://goo.gl/jRd6b3" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Number</span><span class="pl-kos">(</span><span class="pl-s">'0b1010101'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 85</span> <span class="pl-v">Number</span><span class="pl-kos">(</span><span class="pl-s">'0o7654321'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2054353</span></pre></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.epsilon.js"><code>es.number.epsilon</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.is-finite.js"><code>es.number.is-finite</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.is-integer.js"><code>es.number.is-integer</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.is-nan.js"><code>es.number.is-nan</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.is-safe-integer.js"><code>es.number.is-safe-integer</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.max-safe-integer.js"><code>es.number.max-safe-integer</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.min-safe-integer.js"><code>es.number.min-safe-integer</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.parse-float.js"><code>es.number.parse-float</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.parse-int.js"><code>es.number.parse-int</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.to-exponential.js"><code>es.number.to-exponential</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.to-fixed.js"><code>es.number.to-fixed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.number.to-precision.js"><code>es.number.to-precision</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.parse-int.js"><code>es.parse-int</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.parse-float.js"><code>es.parse-float</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Number</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-c1">toExponential</span><span class="pl-kos">(</span><span class="pl-s1">digits</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toFixed</span><span class="pl-kos">(</span><span class="pl-s1">digits</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toPrecision</span><span class="pl-kos">(</span><span class="pl-s1">precision</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isFinite</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isNaN</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isInteger</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isSafeInteger</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">parseFloat</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">parseInt</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">radix</span>?: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">EPSILON</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">MAX_SAFE_INTEGER</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">MIN_SAFE_INTEGER</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-s1">parseFloat</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">parseInt</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">radix</span>?: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/number core-js(-pure)/es|stable|actual|full/number/constructor core-js(-pure)/es|stable|actual|full/number/is-finite core-js(-pure)/es|stable|actual|full/number/is-nan core-js(-pure)/es|stable|actual|full/number/is-integer core-js(-pure)/es|stable|actual|full/number/is-safe-integer core-js(-pure)/es|stable|actual|full/number/parse-float core-js(-pure)/es|stable|actual|full/number/parse-int core-js(-pure)/es|stable|actual|full/number/epsilon core-js(-pure)/es|stable|actual|full/number/max-safe-integer core-js(-pure)/es|stable|actual|full/number/min-safe-integer core-js(-pure)/es|stable|actual|full/number(/virtual)/to-exponential core-js(-pure)/es|stable|actual|full/number(/virtual)/to-fixed core-js(-pure)/es|stable|actual|full/number(/virtual)/to-precision core-js(-pure)/es|stable|actual|full/parse-float core-js(-pure)/es|stable|actual|full/parse-int </code></pre> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Math<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-math" class="anchor" aria-label="Permalink: ECMAScript: Math⬆" href="#ecmascript-math"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.acosh.js"><code>es.math.acosh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.asinh.js"><code>es.math.asinh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.atanh.js"><code>es.math.atanh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.cbrt.js"><code>es.math.cbrt</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.clz32.js"><code>es.math.clz32</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.cosh.js"><code>es.math.cosh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.expm1.js"><code>es.math.expm1</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.fround.js"><code>es.math.fround</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.hypot.js"><code>es.math.hypot</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.imul.js"><code>es.math.imul</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.log10.js"><code>es.math.log10</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.log1p.js"><code>es.math.log1p</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.log2.js"><code>es.math.log2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.sign.js"><code>es.math.sign</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.sinh.js"><code>es.math.sinh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.tanh.js"><code>es.math.tanh</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.trunc.js"><code>es.math.trunc</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-v">Math</span> <span class="pl-kos">{</span> <span class="pl-c1">acosh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">asinh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">atanh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">cbrt</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">clz32</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">cosh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">expm1</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">fround</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">hypot</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">number</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">imul</span><span class="pl-kos">(</span><span class="pl-s1">number1</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">number2</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">log1p</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">log10</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">log2</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">sign</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">1</span> <span class="pl-c1">|</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-c1">|</span> <span class="pl-c1">0</span> <span class="pl-c1">|</span> <span class="pl-c1">-</span><span class="pl-c1">0</span> <span class="pl-c1">|</span> <span class="pl-v">NaN</span><span class="pl-kos"></span><span class="pl-kos">;</span> <span class="pl-en">sinh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">tanh</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-en">trunc</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/math core-js(-pure)/es|stable|actual|full/math/acosh core-js(-pure)/es|stable|actual|full/math/asinh core-js(-pure)/es|stable|actual|full/math/atanh core-js(-pure)/es|stable|actual|full/math/cbrt core-js(-pure)/es|stable|actual|full/math/clz32 core-js(-pure)/es|stable|actual|full/math/cosh core-js(-pure)/es|stable|actual|full/math/expm1 core-js(-pure)/es|stable|actual|full/math/fround core-js(-pure)/es|stable|actual|full/math/hypot core-js(-pure)/es|stable|actual|full/math/imul core-js(-pure)/es|stable|actual|full/math/log1p core-js(-pure)/es|stable|actual|full/math/log10 core-js(-pure)/es|stable|actual|full/math/log2 core-js(-pure)/es|stable|actual|full/math/sign core-js(-pure)/es|stable|actual|full/math/sinh core-js(-pure)/es|stable|actual|full/math/tanh core-js(-pure)/es|stable|actual|full/math/trunc </code></pre> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Date<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-date" class="anchor" aria-label="Permalink: ECMAScript: Date⬆" href="#ecmascript-date"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.to-string.js"><code>es.date.to-string</code></a>, ES5 features with fixes: <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.now.js"><code>es.date.now</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.to-iso-string.js"><code>es.date.to-iso-string</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.to-json.js"><code>es.date.to-json</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.to-primitive.js"><code>es.date.to-primitive</code></a>.</p> <p>Annex B methods. Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.get-year.js"><code>es.date.get-year</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.set-year.js"><code>es.date.set-year</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.date.to-gmt-string.js"><code>es.date.to-gmt-string</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Date</span> <span class="pl-kos">{</span> <span class="pl-c1">getYear</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">int</span><span class="pl-kos">;</span> <span class="pl-c1">setYear</span><span class="pl-kos">(</span><span class="pl-s1">year</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">toGMTString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toISOString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toJSON</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> @@<span class="pl-en">toPrimitive</span><span class="pl-kos">(</span><span class="pl-s1">hint</span>: <span class="pl-s">'default'</span> <span class="pl-c1">|</span> <span class="pl-s">'number'</span> <span class="pl-c1">|</span> <span class="pl-s">'string'</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span> <span class="pl-c1">|</span> <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">now</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/es|stable|actual|full/date core-js/es|stable|actual|full/date/to-string core-js(-pure)/es|stable|actual|full/date/now core-js(-pure)/es|stable|actual|full/date/get-year core-js(-pure)/es|stable|actual|full/date/set-year core-js(-pure)/es|stable|actual|full/date/to-gmt-string core-js(-pure)/es|stable|actual|full/date/to-iso-string core-js(-pure)/es|stable|actual|full/date/to-json core-js(-pure)/es|stable|actual|full/date/to-primitive </code></pre> <p><a href="https://goo.gl/haeHLR" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">new</span> <span class="pl-v">Date</span><span class="pl-kos">(</span><span class="pl-v">NaN</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Invalid Date'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Promise<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-promise" class="anchor" aria-label="Permalink: ECMAScript: Promise⬆" href="#ecmascript-promise"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.promise.js"><code>es.promise</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.promise.all-settled.js"><code>es.promise.all-settled</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.promise.any.js"><code>es.promise.any</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.promise.finally.js"><code>es.promise.finally</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.promise.with-resolvers.js"><code>es.promise.with-resolvers</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">executor</span>: <span class="pl-kos">(</span><span class="pl-s1">resolve</span>: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-c1">then</span><span class="pl-kos">(</span><span class="pl-s1">onFulfilled</span>: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-s1">onRejected</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-c1">catch</span><span class="pl-kos">(</span><span class="pl-s1">onRejected</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-c1">finally</span><span class="pl-kos">(</span><span class="pl-s1">onFinally</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">all</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">allSettled</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">any</span><span class="pl-kos">(</span><span class="pl-s1">promises</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">race</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">reject</span><span class="pl-kos">(</span><span class="pl-s1">r</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">resolve</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-en">withResolvers</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> promise: <span class="pl-v">Promise</span><span class="pl-kos">,</span> <span class="pl-s1">resolve</span>: <span class="pl-k">function</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span>: <span class="pl-k">function</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos"></span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/promise core-js(-pure)/es|stable|actual|full/promise/all-settled core-js(-pure)/es|stable|actual|full/promise/any core-js(-pure)/es|stable|actual|full/promise/finally core-js(-pure)/es|stable|actual|full/promise/with-resolvers </code></pre> <p>Basic <a href="https://goo.gl/vGrtUC" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-s1">time</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-v">Promise</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">time</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">,</span> <span class="pl-c1">0</span> <span class="pl-c1">|</span> <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">random</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Run'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Run</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">result</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 869, after 5 sec.</span> <span class="pl-k">return</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">result</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">result</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 202, after 10 sec.</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'immediately after'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; immediately after</span> <span class="pl-k">throw</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">'Irror!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'will not be displayed'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; =&gt; Error: Irror!</span></pre></div> <p><code>Promise.resolve</code> and <code>Promise.reject</code> <a href="https://goo.gl/vr8TN3" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">$</span><span class="pl-kos">.</span><span class="pl-en">getJSON</span><span class="pl-kos">(</span><span class="pl-s">'/data.json'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ES promise</span></pre></div> <p><code>Promise#finally</code> <a href="https://goo.gl/AhyBbJ" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">finally</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'You will see it anyway'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">finally</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'You will see it anyway'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p><code>Promise.all</code> <a href="https://goo.gl/RdoDBZ" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">15</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span> <span class="pl-c">// after 15 sec:</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['foo', 956, 85, 382]</span></pre></div> <p><code>Promise.race</code> <a href="https://goo.gl/L8ovkJ" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-en">timeLimit</span><span class="pl-kos">(</span><span class="pl-s1">promise</span><span class="pl-kos">,</span> <span class="pl-s1">time</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">race</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">promise</span><span class="pl-kos">,</span> <span class="pl-k">new</span> <span class="pl-v">Promise</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">reject</span><span class="pl-kos">,</span> <span class="pl-s1">time</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">,</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s">'Await &gt; '</span> <span class="pl-c1">+</span> <span class="pl-s1">time</span> <span class="pl-c1">+</span> <span class="pl-s">' sec'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">timeLimit</span><span class="pl-kos">(</span><span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 853, after 5 sec.</span> <span class="pl-en">timeLimit</span><span class="pl-kos">(</span><span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">15</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">x</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Error: Await &gt; 10 sec</span></pre></div> <p><code>Promise.allSettled</code> <a href="https://goo.gl/PXXLNJ" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">allSettled</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [{ value: 1, status: 'fulfilled' }, { reason: 2, status: 'rejected' }, { value: 3, status: 'fulfilled' }]</span></pre></div> <p><code>Promise.any</code> <a href="https://goo.gl/iErvmp" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">any</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">any</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">{</span> errors <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">errors</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span></pre></div> <p><code>Promise.withResolvers</code> <a href="https://tinyurl.com/2gx4t3xu" rel="nofollow"><em>examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">withResolvers</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">d</span><span class="pl-kos">.</span><span class="pl-c1">promise</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span></pre></div> <p><a href="https://goo.gl/wnQS4j" rel="nofollow">Example</a> with async functions:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-en">delay</span> <span class="pl-c1">=</span> <span class="pl-s1">time</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">new</span> <span class="pl-v">Promise</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span> <span class="pl-c1">=&gt;</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">resolve</span><span class="pl-kos">,</span> <span class="pl-s1">time</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-s1">time</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-en">delay</span><span class="pl-kos">(</span><span class="pl-s1">time</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-c1">0</span> <span class="pl-c1">|</span> <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">random</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">sleepError</span><span class="pl-kos">(</span><span class="pl-s1">time</span><span class="pl-kos">,</span> <span class="pl-s1">msg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-en">delay</span><span class="pl-kos">(</span><span class="pl-s1">time</span> <span class="pl-c1">*</span> <span class="pl-c1">1e3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">throw</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s1">msg</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">try</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Run'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Run</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-k">await</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 936, after 5 sec.</span> <span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">all</span><span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">15</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-en">sleepRandom</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 210 445 71, after 15 sec.</span> <span class="pl-k">await</span> <span class="pl-en">sleepError</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-s">'Error!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Will not be displayed'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Error: 'Error!', after 5 sec.</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Unhandled rejection tracking<a href="#index">⬆</a> </h5><a id="user-content-unhandled-rejection-tracking" class="anchor" aria-label="Permalink: Unhandled rejection tracking⬆" href="#unhandled-rejection-tracking"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>In Node.js, like in native implementation, available events <a href="https://nodejs.org/api/process.html#process_event_unhandledrejection" rel="nofollow"><code>unhandledRejection</code></a> and <a href="https://nodejs.org/api/process.html#process_event_rejectionhandled" rel="nofollow"><code>rejectionHandled</code></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'unhandledRejection'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">promise</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'unhandled'</span><span class="pl-kos">,</span> <span class="pl-s1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">promise</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'rejectionHandled'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">promise</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'handled'</span><span class="pl-kos">,</span> <span class="pl-s1">promise</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">promise</span> <span class="pl-c1">=</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// unhandled 42 [object Promise]</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">promise</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">1e3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// handled [object Promise]</span></pre></div> <p>In a browser on rejection, by default, you will see notify in the console, or you can add a custom handler and a handler on handling unhandled, <a href="https://goo.gl/Wozskl" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'unhandledrejection'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'unhandled'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">promise</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'rejectionhandled'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'handled'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">promise</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// or</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">onunhandledrejection</span> <span class="pl-c1">=</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'unhandled'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">promise</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">onrejectionhandled</span> <span class="pl-c1">=</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'handled'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">reason</span><span class="pl-kos">,</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">promise</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">promise</span> <span class="pl-c1">=</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; unhandled 42 [object Promise]</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">promise</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">1e3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; handled 42 [object Promise]</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Symbol<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-symbol" class="anchor" aria-label="Permalink: ECMAScript: Symbol⬆" href="#ecmascript-symbol"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.js"><code>es.symbol</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.async-iterator.js"><code>es.symbol.async-iterator</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.description.js"><code>es.symbol.description</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.has-instance.js"><code>es.symbol.has-instance</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.is-concat-spreadable.js"><code>es.symbol.is-concat-spreadable</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.iterator.js"><code>es.symbol.iterator</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.match.js"><code>es.symbol.match</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.replace.js"><code>es.symbol.replace</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.search.js"><code>es.symbol.search</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.species.js"><code>es.symbol.species</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.split.js"><code>es.symbol.split</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.to-primitive.js"><code>es.symbol.to-primitive</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.to-string-tag.js"><code>es.symbol.to-string-tag</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.symbol.unscopables.js"><code>es.symbol.unscopables</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.math.to-string-tag.js"><code>es.math.to-string-tag</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">description</span>?<span class="pl-kos">)</span>: <span class="pl-s1">symbol</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">description</span>: <span class="pl-c1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">asyncIterator</span>: @@<span class="pl-s1">asyncIterator</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">hasInstance</span>: @@<span class="pl-s1">hasInstance</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isConcatSpreadable</span>: @@<span class="pl-s1">isConcatSpreadable</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">iterator</span>: @@<span class="pl-s1">iterator</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">match</span>: @@<span class="pl-s1">match</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">replace</span>: @@<span class="pl-s1">replace</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">search</span>: @@<span class="pl-s1">search</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">species</span>: @@<span class="pl-s1">species</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">split</span>: @@<span class="pl-s1">split</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">toPrimitive</span>: @@<span class="pl-s1">toPrimitive</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">toStringTag</span>: @@<span class="pl-s1">toStringTag</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">unscopables</span>: @@<span class="pl-s1">unscopables</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">for</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">symbol</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">keyFor</span><span class="pl-kos">(</span><span class="pl-s1">sym</span>: <span class="pl-s1">symbol</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">static</span> <span class="pl-c1">useSimple</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">static</span> <span class="pl-c1">useSetter</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">getOwnPropertySymbols</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">symbol</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p>Also wrapped some methods for correct work with <code>Symbol</code> polyfill.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">create</span><span class="pl-kos">(</span><span class="pl-s1">prototype</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-s1">properties</span>?: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-c1">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">defineProperties</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">properties</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">attributes</span>: <span class="pl-v">PropertyDescriptor</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">getOwnPropertyDescriptor</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">getOwnPropertyNames</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">propertyIsEnumerable</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/symbol core-js(-pure)/es|stable|actual|full/symbol/async-iterator core-js/es|stable|actual|full/symbol/description core-js(-pure)/es|stable|actual|full/symbol/has-instance core-js(-pure)/es|stable|actual|full/symbol/is-concat-spreadable core-js(-pure)/es|stable|actual|full/symbol/iterator core-js(-pure)/es|stable|actual|full/symbol/match core-js(-pure)/es|stable|actual|full/symbol/replace core-js(-pure)/es|stable|actual|full/symbol/search core-js(-pure)/es|stable|actual|full/symbol/species core-js(-pure)/es|stable|actual|full/symbol/split core-js(-pure)/es|stable|actual|full/symbol/to-primitive core-js(-pure)/es|stable|actual|full/symbol/to-string-tag core-js(-pure)/es|stable|actual|full/symbol/unscopables core-js(-pure)/es|stable|actual|full/symbol/for core-js(-pure)/es|stable|actual|full/symbol/key-for core-js(-pure)/es|stable|actual|full/object/get-own-property-symbols core-js(-pure)/es|stable|actual|full/math/to-string-tag </code></pre> <p><a href="https://goo.gl/BbvWFc" rel="nofollow"><em>Basic example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-v">Person</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-c1">NAME</span> <span class="pl-c1">=</span> <span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'name'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-k">class</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">[</span><span class="pl-c1">NAME</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getName</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">[</span><span class="pl-c1">NAME</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">person</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Person</span><span class="pl-kos">(</span><span class="pl-s">'Vasya'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">person</span><span class="pl-kos">.</span><span class="pl-en">getName</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Vasya'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">person</span><span class="pl-kos">[</span><span class="pl-s">'name'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; undefined</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">person</span><span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'name'</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; undefined, symbols are uniq</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">person</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; nothing, symbols are not enumerable</span></pre></div> <p><code>Symbol.for</code> &amp; <code>Symbol.keyFor</code> <a href="https://goo.gl/0pdJjX" rel="nofollow"><em>example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">symbol</span> <span class="pl-c1">=</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">for</span><span class="pl-kos">(</span><span class="pl-s">'key'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">symbol</span> <span class="pl-c1">===</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">for</span><span class="pl-kos">(</span><span class="pl-s">'key'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// true</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">keyFor</span><span class="pl-kos">(</span><span class="pl-s1">symbol</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 'key'</span></pre></div> <p><a href="https://goo.gl/mKVOQJ" rel="nofollow"><em>Example</em></a> with methods for getting own object keys:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">object</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">value</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">object</span><span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'c'</span><span class="pl-kos">)</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['a']</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getOwnPropertyNames</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['a', 'b']</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getOwnPropertySymbols</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [Symbol(c)]</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">ownKeys</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['a', 'b', Symbol(c)]</span></pre></div> <p><a href="https://goo.gl/MWizfc" rel="nofollow"><em>Symbol#description getter</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">description</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'foo'</span> <span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">description</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; undefined</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Caveats when using <code>Symbol</code> polyfill:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-symbol-polyfill" class="anchor" aria-label="Permalink: Caveats when using Symbol polyfill:⬆" href="#caveats-when-using-symbol-polyfill"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>We can't add new primitive type, <code>Symbol</code> returns object.</li> <li> <code>Symbol.for</code> and <code>Symbol.keyFor</code> can't be polyfilled cross-realm.</li> <li>By default, to hide the keys, <code>Symbol</code> polyfill defines setter in <code>Object.prototype</code>. For this reason, uncontrolled creation of symbols can cause memory leak and the <code>in</code> operator is not working correctly with <code>Symbol</code> polyfill: <code>Symbol() in {} // =&gt; true</code>.</li> </ul> <p>You can disable defining setters in <code>Object.prototype</code>. <a href="https://goo.gl/N5UD7J" rel="nofollow">Example</a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">useSimple</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">symbol1</span> <span class="pl-c1">=</span> <span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'symbol1'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">object1</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">object1</span><span class="pl-kos">[</span><span class="pl-s1">symbol1</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">object1</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Symbol(symbol1)_t.qamkg9f3q', w/o native Symbol</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">useSetter</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">symbol2</span> <span class="pl-c1">=</span> <span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'symbol2'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">object2</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">object2</span><span class="pl-kos">[</span><span class="pl-s1">symbol2</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">object2</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// nothing</span></pre></div> <ul> <li>Currently, <code>core-js</code> not adds setters to <code>Object.prototype</code> for well-known symbols for correct work something like <code>Symbol.iterator in foo</code>. It can cause problems with their enumerability.</li> <li>Some problems possible with environment exotic objects (for example, IE <code>localStorage</code>).</li> </ul> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Collections<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-collections" class="anchor" aria-label="Permalink: ECMAScript: Collections⬆" href="#ecmascript-collections"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><code>core-js</code> uses native collections in most case, just fixes methods / constructor, if it's required, and in old environment uses fast polyfill (O(1) lookup).</p> <div class="markdown-heading"><h4 class="heading-element">Map<a href="#index">⬆</a> </h4><a id="user-content-map" class="anchor" aria-label="Permalink: Map⬆" href="#map"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.map.js"><code>es.map</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.map.group-by.js"><code>es.map.group-by</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Map</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>?: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Map</span><span class="pl-kos">;</span> <span class="pl-c1">clear</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">delete</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">get</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">has</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">set</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">val</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">key</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">size</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">groupBy</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">key</span><span class="pl-kos">)</span>: <span class="pl-v">Map</span><span class="pl-c1">&lt;</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/map core-js(-pure)/es|stable|actual|full/map/group-by </code></pre> <p><a href="https://tinyurl.com/yn2w5s8v" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Map</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">42</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-c1">size</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3, 4</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 42, [1], true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-c1">size</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">array</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; undefined</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [['a', 1], [42, 2], [true, 4]]</span> <span class="pl-k">let</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Map</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'c'</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">map</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-kos">}</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">of</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-v">Map</span><span class="pl-kos">.</span><span class="pl-en">groupBy</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 3, 5]</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [2, 4]</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Set<a href="#index">⬆</a> </h4><a id="user-content-set" class="anchor" aria-label="Permalink: Set⬆" href="#set"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.js"><code>es.set</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.difference.v2.js"><code>es.set.difference.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.intersection.v2.js"><code>es.set.intersection.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.is-disjoint-from.v2.js"><code>es.set.is-disjoint-from.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.is-subset-of.v2.js"><code>es.set.is-subset-of.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.is-superset-of.v2.js"><code>es.set.is-superset-of.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.symmetric-difference.v2.js"><code>es.set.symmetric-difference.v2</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.set.union.v2.js"><code>es.set.union.v2</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Set</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>?: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">add</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">clear</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">delete</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">has</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">value</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">difference</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">intersection</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">isDisjointFrom</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">isSubsetOf</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">isSupersetOf</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">symmetricDifference</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">union</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-c1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">size</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/set core-js(-pure)/es|stable|actual|full/set/difference core-js(-pure)/es|stable|actual|full/set/intersection core-js(-pure)/es|stable|actual|full/set/is-disjoint-from core-js(-pure)/es|stable|actual|full/set/is-subset-of core-js(-pure)/es|stable|actual|full/set/is-superset-of core-js(-pure)/es|stable|actual|full/set/symmetric-difference core-js(-pure)/es|stable|actual|full/set/union </code></pre> <p><a href="https://tinyurl.com/2dy5t9ey" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">set</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-s">'c'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s">'d'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s">'e'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-c1">size</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 5</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'c', 'd', 'e'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-c1">size</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-s1">set</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['a', 'c', 'd', 'e']</span> <span class="pl-k">let</span> <span class="pl-s1">set</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">set</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">of</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">set</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-kos">}</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">union</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set {1, 2, 3, 4, 5}</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">intersection</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set {3}</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">difference</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set {1, 2}</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">symmetricDifference</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set {1, 2, 4, 5}</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">isDisjointFrom</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">isSubsetOf</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">isSupersetOf</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">WeakMap<a href="#index">⬆</a> </h4><a id="user-content-weakmap" class="anchor" aria-label="Permalink: WeakMap⬆" href="#weakmap"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.weak-map.js"><code>es.weak-map</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">WeakMap</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>?: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">WeakMap</span><span class="pl-kos">;</span> <span class="pl-c1">delete</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">get</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">has</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">set</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">val</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/weak-map </code></pre> <p><a href="https://goo.gl/SILXyw" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">weakmap</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">WeakMap</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1</span> <span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakmap</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; undefined</span> <span class="pl-c">// Private properties store:</span> <span class="pl-k">let</span> <span class="pl-v">Person</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">names</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">WeakMap</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-k">class</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">names</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getName</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">names</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">person</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Person</span><span class="pl-kos">(</span><span class="pl-s">'Vasya'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">person</span><span class="pl-kos">.</span><span class="pl-en">getName</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'Vasya'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">in</span> <span class="pl-s1">person</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; only 'getName'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">WeakSet<a href="#index">⬆</a> </h4><a id="user-content-weakset" class="anchor" aria-label="Permalink: WeakSet⬆" href="#weakset"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.weak-set.js"><code>es.weak-set</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">WeakSet</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>?: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">WeakSet</span><span class="pl-kos">;</span> <span class="pl-c1">add</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">delete</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">has</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/weak-set </code></pre> <p><a href="https://goo.gl/TdFbEx" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">weakset</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">WeakSet</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">weakset</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakset</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakset</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-s1">weakset</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">weakset</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Caveats when using collections polyfill:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-collections-polyfill" class="anchor" aria-label="Permalink: Caveats when using collections polyfill:⬆" href="#caveats-when-using-collections-polyfill"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>Weak-collections polyfill stores values as hidden properties of keys. It works correct and not leak in most cases. However, it is desirable to store a collection longer than its keys.</li> <li>Native symbols as <code>WeakMap</code> keys can't be properly polyfilled without memory leaks.</li> </ul> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Typed Arrays<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-typed-arrays" class="anchor" aria-label="Permalink: ECMAScript: Typed Arrays⬆" href="#ecmascript-typed-arrays"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Implementations and fixes for <code>ArrayBuffer</code>, <code>DataView</code>, Typed Arrays constructors, static and prototype methods. Typed arrays work only in environments with support descriptors (IE9+), <code>ArrayBuffer</code> and <code>DataView</code> should work anywhere.</p> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array-buffer.constructor.js"><code>es.array-buffer.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array-buffer.is-view.js"><code>es.array-buffer.is-view</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array-buffer.detached.js"><code>esnext.array-buffer.detached</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.array-buffer.slice.js"><code>es.array-buffer.slice</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array-buffer.transfer.js"><code>esnext.array-buffer.transfer</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js"><code>esnext.array-buffer.transfer-to-fixed-length</code></a> <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.data-view.js"><code>es.data-view</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.int8-array.js"><code>es.typed-array.int8-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.uint8-array.js"><code>es.typed-array.uint8-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.uint8-clamped-array.js"><code>es.typed-array.uint8-clamped-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.int16-array.js"><code>es.typed-array.int16-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.uint16-array.js"><code>es.typed-array.uint16-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.int32-array.js"><code>es.typed-array.int32-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.uint32-array.js"><code>es.typed-array.uint32-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.float32-array.js"><code>es.typed-array.float32-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.float64-array.js"><code>es.typed-array.float64-array</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.copy-within.js"><code>es.typed-array.copy-within</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.every.js"><code>es.typed-array.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.fill.js"><code>es.typed-array.fill</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.filter.js"><code>es.typed-array.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.find.js"><code>es.typed-array.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.find-index.js"><code>es.typed-array.find-index</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.find-last.js"><code>es.typed-array.find-last</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.find-last-index.js"><code>es.typed-array.find-last-index</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.for-each.js"><code>es.typed-array.for-each</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.from.js"><code>es.typed-array.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.includes.js"><code>es.typed-array.includes</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.index-of.js"><code>es.typed-array.index-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.iterator.js"><code>es.typed-array.iterator</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.last-index-of.js"><code>es.typed-array.last-index-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.map.js"><code>es.typed-array.map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.of.js"><code>es.typed-array.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.reduce.js"><code>es.typed-array.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.reduce-right.js"><code>es.typed-array.reduce-right</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.reverse.js"><code>es.typed-array.reverse</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.set.js"><code>es.typed-array.set</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.slice.js"><code>es.typed-array.slice</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.some.js"><code>es.typed-array.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.sort.js"><code>es.typed-array.sort</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.subarray.js"><code>es.typed-array.subarray</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.to-locale-string.js"><code>es.typed-array.to-locale-string</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.to-string.js"><code>es.typed-array.to-string</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.at.js"><code>es.typed-array.at</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.to-reversed.js"><code>es.typed-array.to-reversed</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.to-sorted.js"><code>es.typed-array.to-sorted</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.typed-array.with.js"><code>es.typed-array.with</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">ArrayBuffer</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">byteLength</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">detached</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">slice</span><span class="pl-kos">(</span><span class="pl-s1">start</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">transfer</span><span class="pl-kos">(</span><span class="pl-s1">newLength</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">transferToFixedLength</span><span class="pl-kos">(</span><span class="pl-s1">newLength</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isView</span><span class="pl-kos">(</span><span class="pl-s1">arg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">DataView</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span>: <span class="pl-v">ArrayBuffer</span><span class="pl-kos">,</span> <span class="pl-s1">byteOffset</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">byteLength</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">DataView</span><span class="pl-kos">;</span> <span class="pl-c1">getInt8</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">int8</span><span class="pl-kos">;</span> <span class="pl-c1">getUint8</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint8</span> <span class="pl-c1">getInt16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">int16</span><span class="pl-kos">;</span> <span class="pl-c1">getUint16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">uint16</span><span class="pl-kos">;</span> <span class="pl-c1">getInt32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">int32</span><span class="pl-kos">;</span> <span class="pl-c1">getUint32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">uint32</span><span class="pl-kos">;</span> <span class="pl-c1">getFloat32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">float32</span><span class="pl-kos">;</span> <span class="pl-c1">getFloat64</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-s1">float64</span><span class="pl-kos">;</span> <span class="pl-c1">setInt8</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setUint8</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setInt16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setUint16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setInt32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setUint32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setFloat32</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">setFloat64</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">littleEndian</span>?: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">buffer</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">byteLength</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">byteOffset</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-kos">[</span> <span class="pl-v">Int8Array</span><span class="pl-kos">,</span> <span class="pl-v">Uint8Array</span><span class="pl-kos">,</span> <span class="pl-v">Uint8ClampedArray</span><span class="pl-kos">,</span> <span class="pl-v">Int16Array</span><span class="pl-kos">,</span> <span class="pl-v">Uint16Array</span><span class="pl-kos">,</span> <span class="pl-v">Int32Array</span><span class="pl-kos">,</span> <span class="pl-v">Uint32Array</span><span class="pl-kos">,</span> <span class="pl-v">Float32Array</span><span class="pl-kos">,</span> <span class="pl-v">Float64Array</span><span class="pl-kos">,</span> <span class="pl-kos">]</span> <span class="pl-s1">extends</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span> <span class="pl-c1">|</span> <span class="pl-v">ArrayLike</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span>: <span class="pl-v">ArrayBuffer</span><span class="pl-kos">,</span> <span class="pl-c1">byteOffset</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-c1">length</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">copyWithin</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">start</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">fill</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">findLast</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findLastIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">indexOf</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">join</span><span class="pl-kos">(</span><span class="pl-s1">separator</span>: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">','</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">index</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">lastIndexOf</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-c1">map</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">reduce</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">reduceRight</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">reverse</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">set</span><span class="pl-kos">(</span><span class="pl-s1">array</span>: <span class="pl-v">ArrayLike</span><span class="pl-kos">,</span> <span class="pl-s1">offset</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">slice</span><span class="pl-kos">(</span><span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">some</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">sort</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c">// with modern behavior like stable sort</span> <span class="pl-c1">subarray</span><span class="pl-kos">(</span><span class="pl-s1">begin</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">toReversed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">toSorted</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toLocaleString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">with</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">includes</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-c1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">buffer</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">byteLength</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">byteOffset</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">length</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-c1">BYTES_PER_ELEMENT</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span> <span class="pl-c1">|</span> <span class="pl-v">ArrayLike</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-k">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">BYTES_PER_ELEMENT</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/es|stable|actual|full/array-buffer core-js/es|stable|actual|full/array-buffer/constructor core-js/es|stable|actual|full/array-buffer/is-view core-js/es|stable|actual|full/array-buffer/detached core-js/es|stable|actual|full/array-buffer/slice core-js/es|stable|actual|full/array-buffer/transfer core-js/es|stable|actual|full/array-buffer/transfer-to-fixed-length core-js/es|stable|actual|full/data-view core-js/es|stable|actual|full/typed-array core-js/es|stable|actual|full/typed-array/int8-array core-js/es|stable|actual|full/typed-array/uint8-array core-js/es|stable|actual|full/typed-array/uint8-clamped-array core-js/es|stable|actual|full/typed-array/int16-array core-js/es|stable|actual|full/typed-array/uint16-array core-js/es|stable|actual|full/typed-array/int32-array core-js/es|stable|actual|full/typed-array/uint32-array core-js/es|stable|actual|full/typed-array/float32-array core-js/es|stable|actual|full/typed-array/float64-array core-js/es|stable|actual|full/typed-array/at core-js/es|stable|actual|full/typed-array/copy-within core-js/es|stable|actual|full/typed-array/entries core-js/es|stable|actual|full/typed-array/every core-js/es|stable|actual|full/typed-array/fill core-js/es|stable|actual|full/typed-array/filter core-js/es|stable|actual|full/typed-array/find core-js/es|stable|actual|full/typed-array/find-index core-js/es|stable|actual|full/typed-array/find-last core-js/es|stable|actual|full/typed-array/find-last-index core-js/es|stable|actual|full/typed-array/for-each core-js/es|stable|actual|full/typed-array/from core-js/es|stable|actual|full/typed-array/includes core-js/es|stable|actual|full/typed-array/index-of core-js/es|stable|actual|full/typed-array/iterator core-js/es|stable|actual|full/typed-array/join core-js/es|stable|actual|full/typed-array/keys core-js/es|stable|actual|full/typed-array/last-index-of core-js/es|stable|actual|full/typed-array/map core-js/es|stable|actual|full/typed-array/of core-js/es|stable|actual|full/typed-array/reduce core-js/es|stable|actual|full/typed-array/reduce-right core-js/es|stable|actual|full/typed-array/reverse core-js/es|stable|actual|full/typed-array/set core-js/es|stable|actual|full/typed-array/slice core-js/es|stable|actual|full/typed-array/some core-js/es|stable|actual|full/typed-array/sort core-js/es|stable|actual|full/typed-array/subarray core-js/es|stable|actual|full/typed-array/to-locale-string core-js/es|stable|actual|full/typed-array/to-reversed core-js/es|stable|actual|full/typed-array/to-sorted core-js/es|stable|actual|full/typed-array/to-string core-js/es|stable|actual|full/typed-array/values core-js/es|stable|actual|full/typed-array/with </code></pre> <p><a href="https://tinyurl.com/23cdt8rk" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">new</span> <span class="pl-v">Int32Array</span><span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [0, 0, 0, 0]</span> <span class="pl-k">new</span> <span class="pl-v">Uint8ClampedArray</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">666</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 255]</span> <span class="pl-k">new</span> <span class="pl-v">Float32Array</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-k">let</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">ArrayBuffer</span><span class="pl-kos">(</span><span class="pl-c1">8</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">view</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">DataView</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">view</span><span class="pl-kos">.</span><span class="pl-en">setFloat64</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">123.456</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">new</span> <span class="pl-v">Uint8Array</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-en">slice</span><span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [47, 221, 94, 64]</span> <span class="pl-v">Int8Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1.5</span><span class="pl-kos">,</span> <span class="pl-c1">5.7</span><span class="pl-kos">,</span> <span class="pl-c1">745</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 5, -23]</span> <span class="pl-v">Uint8Array</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">1.5</span><span class="pl-kos">,</span> <span class="pl-c1">5.7</span><span class="pl-kos">,</span> <span class="pl-c1">745</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 1, 5, 233]</span> <span class="pl-k">let</span> <span class="pl-s1">typed</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Uint8Array</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">slice</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [2, 3]</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-c1">buffer</span> <span class="pl-c1">===</span> <span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-c1">buffer</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-k">let</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">subarray</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [2, 3]</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-c1">buffer</span> <span class="pl-c1">===</span> <span class="pl-s1">b</span><span class="pl-kos">.</span><span class="pl-c1">buffer</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 3]</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">*</span> <span class="pl-c1">1.5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 3, 4]</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">typed</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">value</span> <span class="pl-k">of</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">key</span> <span class="pl-k">of</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0, 1, 2</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">typed</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0, 1, 2</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3</span> <span class="pl-kos">}</span> <span class="pl-k">new</span> <span class="pl-v">Int32Array</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 2</span> <span class="pl-k">new</span> <span class="pl-v">Int32Array</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">at</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-v">Int8Array</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">,</span> <span class="pl-c1">7</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">buffer</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-c1">byteLength</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 8</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-c1">detached</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-k">const</span> <span class="pl-s1">newBuffer</span> <span class="pl-c1">=</span> <span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-en">transfer</span><span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-c1">byteLength</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">.</span><span class="pl-c1">detached</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">newBuffer</span><span class="pl-kos">.</span><span class="pl-c1">byteLength</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">newBuffer</span><span class="pl-kos">.</span><span class="pl-c1">detached</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-kos">[</span>...<span class="pl-k">new</span> <span class="pl-v">Int8Array</span><span class="pl-kos">(</span><span class="pl-s1">newBuffer</span><span class="pl-kos">)</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3, 4]</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Caveats when using typed arrays polyfills:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-typed-arrays-polyfills" class="anchor" aria-label="Permalink: Caveats when using typed arrays polyfills:⬆" href="#caveats-when-using-typed-arrays-polyfills"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>Polyfills of Typed Arrays constructors work completely how should work by the spec, but because of internal usage of getters / setters on each instance, are slow and consumes significant memory. However, polyfills of Typed Arrays constructors required mainly for old IE, all modern engines have native Typed Arrays constructors and require only fixes of constructors and polyfills of methods.</li> <li> <code>ArrayBuffer.prototype.{ transfer, transferToFixedLength }</code> polyfilled only in runtime with native <code>structuredClone</code> with <code>ArrayBuffer</code> transfer or <code>MessageChannel</code> support.</li> </ul> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: Reflect<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-reflect" class="anchor" aria-label="Permalink: ECMAScript: Reflect⬆" href="#ecmascript-reflect"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.apply.js"><code>es.reflect.apply</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.construct.js"><code>es.reflect.construct</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.define-property.js"><code>es.reflect.define-property</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.delete-property.js"><code>es.reflect.delete-property</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.get.js"><code>es.reflect.get</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.get-own-property-descriptor.js"><code>es.reflect.get-own-property-descriptor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.get-prototype-of.js"><code>es.reflect.get-prototype-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.has.js"><code>es.reflect.has</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.is-extensible.js"><code>es.reflect.is-extensible</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.own-keys.js"><code>es.reflect.own-keys</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.prevent-extensions.js"><code>es.reflect.prevent-extensions</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.set.js"><code>es.reflect.set</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.reflect.set-prototype-of.js"><code>es.reflect.set-prototype-of</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-v">Reflect</span> <span class="pl-kos">{</span> <span class="pl-c1">apply</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-c1">thisArgument</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">argumentsList</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-en">construct</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-s1">argumentsList</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">newTarget</span>?<span class="pl-s1"></span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-s1">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">attributes</span>: <span class="pl-v">PropertyDescriptor</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-s1">deleteProperty</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">get</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-s1">receiver</span>?<span class="pl-s1"></span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-s1">getOwnPropertyDescriptor</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos"></span><span class="pl-kos">;</span> <span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">isExtensible</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">ownKeys</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">symbol</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">preventExtensions</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">,</span> <span class="pl-v">V</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">receiver</span>?<span class="pl-s1"></span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">proto</span>: <span class="pl-v">Object</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c">// required __proto__ - IE11+</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/es|stable|actual|full/reflect core-js(-pure)/es|stable|actual|full/reflect/apply core-js(-pure)/es|stable|actual|full/reflect/construct core-js(-pure)/es|stable|actual|full/reflect/define-property core-js(-pure)/es|stable|actual|full/reflect/delete-property core-js(-pure)/es|stable|actual|full/reflect/get core-js(-pure)/es|stable|actual|full/reflect/get-own-property-descriptor core-js(-pure)/es|stable|actual|full/reflect/get-prototype-of core-js(-pure)/es|stable|actual|full/reflect/has core-js(-pure)/es|stable|actual|full/reflect/is-extensible core-js(-pure)/es|stable|actual|full/reflect/own-keys core-js(-pure)/es|stable|actual|full/reflect/prevent-extensions core-js(-pure)/es|stable|actual|full/reflect/set core-js(-pure)/es|stable|actual|full/reflect/set-prototype-of </code></pre> <p><a href="https://goo.gl/gVT0cH" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">object</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">value</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">object</span><span class="pl-kos">[</span><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'c'</span><span class="pl-kos">)</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">3</span><span class="pl-kos">;</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">ownKeys</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['a', 'b', Symbol(c)]</span> <span class="pl-k">function</span> <span class="pl-v">C</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">c</span> <span class="pl-c1">=</span> <span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-s1">b</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">construct</span><span class="pl-kos">(</span><span class="pl-v">C</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">20</span><span class="pl-kos">,</span> <span class="pl-c1">22</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">instance</span><span class="pl-kos">.</span><span class="pl-c1">c</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: JSON<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-json" class="anchor" aria-label="Permalink: ECMAScript: JSON⬆" href="#ecmascript-json"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Since <code>JSON</code> object is missed only in very old engines like IE7-, <code>core-js</code> does not provide a full <code>JSON</code> polyfill, however, fix already existing implementations by the current standard, for example, <a href="https://github.com/tc39/proposal-well-formed-stringify">well-formed <code>JSON.stringify</code></a>. <code>JSON</code> also fixed in other modules - for example, <code>Symbol</code> polyfill fixes <code>JSON.stringify</code> for correct work with symbols.</p> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.json.to-string-tag.js"><code>es.json.to-string-tag</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.json.stringify.js"><code>es.json.stringify</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-c1">JSON</span> <span class="pl-kos">{</span> <span class="pl-c1">stringify</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">replacer</span>?: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">number</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-kos">(</span><span class="pl-smi">this</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">space</span>?: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> @@<span class="pl-s1">toStringTag</span>: <span class="pl-s">'JSON'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">stringify</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">tag</span></pre></div> <p><a href="https://is.gd/izZqKn" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-s">'𠮷'</span>: <span class="pl-kos">[</span><span class="pl-s">'\uDF06\uD834'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '{"𠮷":["\\udf06\\ud834"]}'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">ECMAScript: globalThis<a href="#index">⬆</a> </h4><a id="user-content-ecmascript-globalthis" class="anchor" aria-label="Permalink: ECMAScript: globalThis⬆" href="#ecmascript-globalthis"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/es.global-this.js"><code>es.global-this</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">globalThis</span>: <span class="pl-v">GlobalThisValue</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">global</span><span class="pl-c1">-</span><span class="pl-smi">this</span></pre></div> <p><a href="https://goo.gl/LAifsc" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">globalThis</span><span class="pl-kos">.</span><span class="pl-c1">Array</span> <span class="pl-c1">===</span> <span class="pl-v">Array</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h3 class="heading-element">ECMAScript proposals<a href="#index">⬆</a> </h3><a id="user-content-ecmascript-proposals" class="anchor" aria-label="Permalink: ECMAScript proposals⬆" href="#ecmascript-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://tc39.github.io/process-document/" rel="nofollow">The TC39 process.</a></p> <div class="markdown-heading"><h4 class="heading-element">Finished proposals<a href="#index">⬆</a> </h4><a id="user-content-finished-proposals" class="anchor" aria-label="Permalink: Finished proposals⬆" href="#finished-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Finished (stage 4) proposals already marked in <code>core-js</code> as stable ECMAScript, they are available in <code>core-js/stable</code> and <code>core-js/es</code> namespace, you can find then in related sections of this doc. However, even for finished proposals, <code>core-js</code> provide a way to include only features for a specific proposal like <code>core-js/proposals/proposal-name</code>.</p> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-global"><code>globalThis</code></a><a href="#index">⬆</a> </h5><a id="user-content-globalthis" class="anchor" aria-label="Permalink: globalThis⬆" href="#globalthis"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">globalThis</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">global</span><span class="pl-c1">-</span><span class="pl-smi">this</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-relative-indexing-method">Relative indexing method</a><a href="#index">⬆</a> </h5><a id="user-content-relative-indexing-method" class="anchor" aria-label="Permalink: Relative indexing method⬆" href="#relative-indexing-method"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">at</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">int</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/relative-indexing-method </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-Array.prototype.includes"><code>Array.prototype.includes</code></a><a href="#index">⬆</a> </h5><a id="user-content-arrayprototypeincludes" class="anchor" aria-label="Permalink: Array.prototype.includes⬆" href="#arrayprototypeincludes"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">from</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-includes </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-flatMap"><code>Array.prototype.flat</code> / <code>Array.prototype.flatMap</code></a><a href="#index">⬆</a> </h5><a id="user-content-arrayprototypeflat--arrayprototypeflatmap" class="anchor" aria-label="Permalink: Array.prototype.flat / Array.prototype.flatMap⬆" href="#arrayprototypeflat--arrayprototypeflatmap"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">flat</span><span class="pl-kos">(</span><span class="pl-s1">depthArg</span>?: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-flat-map </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-find-from-last">Array find from last</a><a href="#index">⬆</a> </h5><a id="user-content-array-find-from-last" class="anchor" aria-label="Permalink: Array find from last⬆" href="#array-find-from-last"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">findLast</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findLastIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">findLast</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findLastIndex</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-find-from-last </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-change-array-by-copy">Change <code>Array</code> by copy</a><a href="#index">⬆</a> </h5><a id="user-content-change-array-by-copy" class="anchor" aria-label="Permalink: Change Array by copy⬆" href="#change-array-by-copy"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">toReversed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">toSpliced</span><span class="pl-kos">(</span><span class="pl-s1">start</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">deleteCount</span>?: <span class="pl-s1">number</span><span class="pl-kos">,</span> ...<span class="pl-s1">items</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">toSorted</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">with</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">includes</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">toReversed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">toSorted</span><span class="pl-kos">(</span><span class="pl-s1">comparefn</span>?: <span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">b</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-c1">with</span><span class="pl-kos">(</span><span class="pl-s1">index</span>: <span class="pl-s1">includes</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/change-array-by-copy-stage-4 core-js(-pure)/es|stable|actual|full/array(/virtual)/to-reversed core-js(-pure)/es|stable|actual|full/array(/virtual)/to-sorted core-js(-pure)/es|stable|actual|full/array(/virtual)/to-spliced core-js(-pure)/es|stable|actual|full/array(/virtual)/with core-js/es|stable|actual|full/typed-array/to-reversed core-js/es|stable|actual|full/typed-array/to-sorted core-js/es|stable|actual|full/typed-array/with </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-grouping"><code>Array</code> grouping</a><a href="#index">⬆</a> </h5><a id="user-content-array-grouping" class="anchor" aria-label="Permalink: Array grouping⬆" href="#array-grouping"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-en">groupBy</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">key</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Map</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">groupBy</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">key</span><span class="pl-kos">)</span>: <span class="pl-v">Map</span><span class="pl-c1">&lt;</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-grouping-v2 </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-arraybuffer-transfer"><code>ArrayBuffer.prototype.transfer</code> and friends</a><a href="#index">⬆</a> </h5><a id="user-content-arraybufferprototypetransfer-and-friends" class="anchor" aria-label="Permalink: ArrayBuffer.prototype.transfer and friends⬆" href="#arraybufferprototypetransfer-and-friends"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">ArrayBuffer</span> <span class="pl-kos">{</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">detached</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">transfer</span><span class="pl-kos">(</span><span class="pl-s1">newLength</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-c1">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-c1">transferToFixedLength</span><span class="pl-kos">(</span><span class="pl-s1">newLength</span>?: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-v">ArrayBuffer</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">array</span><span class="pl-c1">-</span><span class="pl-s1">buffer</span><span class="pl-c1">-</span><span class="pl-s1">transfer</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-object-values-entries"><code>Object.values</code> / <code>Object.entries</code></a><a href="#index">⬆</a> </h5><a id="user-content-objectvalues--objectentries" class="anchor" aria-label="Permalink: Object.values / Object.entries⬆" href="#objectvalues--objectentries"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-v">Object</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">mixed</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/object-values-entries </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-object-from-entries"><code>Object.fromEntries</code></a><a href="#index">⬆</a> </h5><a id="user-content-objectfromentries" class="anchor" aria-label="Permalink: Object.fromEntries⬆" href="#objectfromentries"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">fromEntries</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/object-from-entries </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-object-getownpropertydescriptors"><code>Object.getOwnPropertyDescriptors</code></a><a href="#index">⬆</a> </h5><a id="user-content-objectgetownpropertydescriptors" class="anchor" aria-label="Permalink: Object.getOwnPropertyDescriptors⬆" href="#objectgetownpropertydescriptors"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-en">getOwnPropertyDescriptors</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> <span class="pl-kos">[</span><span class="pl-s1">property</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">]</span>: <span class="pl-v">PropertyDescriptor</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/object-getownpropertydescriptors </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-accessible-object-hasownproperty">Accessible <code>Object.prototype.hasOwnProperty</code></a><a href="#index">⬆</a> </h5><a id="user-content-accessible-objectprototypehasownproperty" class="anchor" aria-label="Permalink: Accessible Object.prototype.hasOwnProperty⬆" href="#accessible-objectprototypehasownproperty"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Object</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">hasOwn</span><span class="pl-kos">(</span><span class="pl-s1">object</span>: <span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/accessible-object-hasownproperty </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-pad-start-end"><code>String</code> padding</a><a href="#index">⬆</a> </h5><a id="user-content-string-padding" class="anchor" aria-label="Permalink: String padding⬆" href="#string-padding"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">padStart</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">fillStr</span>?: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">' '</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">padEnd</span><span class="pl-kos">(</span><span class="pl-s1">length</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">fillStr</span>?: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">' '</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/string-padding </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-matchall"><code>String#matchAll</code></a><a href="#index">⬆</a>.</h5><a id="user-content-stringmatchall" class="anchor" aria-label="Permalink: String#matchAll⬆." href="#stringmatchall"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">matchAll</span><span class="pl-kos">(</span><span class="pl-s1">regexp</span>: <span class="pl-v">RegExp</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">match</span><span class="pl-c1">-</span><span class="pl-s1">all</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-replace-all"><code>String#replaceAll</code></a><a href="#index">⬆</a> </h5><a id="user-content-stringreplaceall" class="anchor" aria-label="Permalink: String#replaceAll⬆" href="#stringreplaceall"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">replaceAll</span><span class="pl-kos">(</span><span class="pl-s1">searchValue</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-v">RegExp</span><span class="pl-kos">,</span> <span class="pl-s1">replaceString</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-kos">(</span><span class="pl-s1">searchValue</span><span class="pl-kos">,</span> <span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-s1">this</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">replace</span><span class="pl-c1">-</span><span class="pl-s1">all</span><span class="pl-c1">-</span><span class="pl-s1">stage</span><span class="pl-c1">-</span><span class="pl-c1">4</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-left-right-trim"><code>String.prototype.trimStart</code> / <code>String.prototype.trimEnd</code></a><a href="#index">⬆</a> </h5><a id="user-content-stringprototypetrimstart--stringprototypetrimend" class="anchor" aria-label="Permalink: String.prototype.trimStart / String.prototype.trimEnd⬆" href="#stringprototypetrimstart--stringprototypetrimend"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">trimLeft</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimRight</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimStart</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">trimEnd</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">left</span><span class="pl-c1">-</span><span class="pl-s1">right</span><span class="pl-c1">-</span><span class="pl-s1">trim</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-regexp-dotall-flag"><code>RegExp</code> <code>s</code> (<code>dotAll</code>) flag</a><a href="#index">⬆</a> </h5><a id="user-content-regexp-s-dotall-flag" class="anchor" aria-label="Permalink: RegExps (dotAll) flag⬆" href="#regexp-s-dotall-flag"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-c">// patched for support `RegExp` dotAll (`s`) flag:</span> <span class="pl-k">class</span> <span class="pl-v">RegExp</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">pattern</span>: <span class="pl-v">RegExp</span> <span class="pl-c1">|</span> <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">flags</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-v">RegExp</span><span class="pl-kos">;</span> <span class="pl-c1">exec</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-c1">undefined</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">dotAll</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">flags</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">regexp</span><span class="pl-c1">-</span><span class="pl-s1">dotall</span><span class="pl-c1">-</span><span class="pl-s1">flag</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-regexp-named-groups"><code>RegExp</code> named capture groups</a><a href="#index">⬆</a> </h5><a id="user-content-regexp-named-capture-groups" class="anchor" aria-label="Permalink: RegExp named capture groups⬆" href="#regexp-named-capture-groups"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-c">// patched for support `RegExp` named capture groups:</span> <span class="pl-k">class</span> <span class="pl-v">RegExp</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">pattern</span>: <span class="pl-v">RegExp</span> <span class="pl-c1">|</span> <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">flags</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-v">RegExp</span><span class="pl-kos">;</span> <span class="pl-c1">exec</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-c1">undefined</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> @@<span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">replaceValue</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">regexp</span><span class="pl-c1">-</span><span class="pl-s1">named</span><span class="pl-c1">-</span><span class="pl-s1">groups</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-promise-allSettled"><code>Promise.allSettled</code></a><a href="#index">⬆</a> </h5><a id="user-content-promiseallsettled" class="anchor" aria-label="Permalink: Promise.allSettled⬆" href="#promiseallsettled"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">allSettled</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">-</span><span class="pl-s1">all</span><span class="pl-c1">-</span><span class="pl-s1">settled</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-promise-any"><code>Promise.any</code></a><a href="#index">⬆</a> </h5><a id="user-content-promiseany" class="anchor" aria-label="Permalink: Promise.any⬆" href="#promiseany"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">AggregateError</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">errors</span>: <span class="pl-v">Iterable</span><span class="pl-kos">,</span> <span class="pl-s1">message</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">AggregateError</span><span class="pl-kos">;</span> <span class="pl-c1">errors</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">message</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">any</span><span class="pl-kos">(</span><span class="pl-s1">promises</span>: <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">-</span><span class="pl-s1">any</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-promise-finally"><code>Promise.prototype.finally</code></a><a href="#index">⬆</a> </h5><a id="user-content-promiseprototypefinally" class="anchor" aria-label="Permalink: Promise.prototype.finally⬆" href="#promiseprototypefinally"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-c1">finally</span><span class="pl-kos">(</span><span class="pl-s1">onFinally</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">-</span><span class="pl-s1">finally</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-promise-with-resolvers"><code>Promise.withResolvers</code></a><a href="#index">⬆</a> </h5><a id="user-content-promisewithresolvers" class="anchor" aria-label="Permalink: Promise.withResolvers⬆" href="#promisewithresolvers"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-en">withResolvers</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-kos">{</span> promise: <span class="pl-v">Promise</span><span class="pl-kos">,</span> <span class="pl-s1">resolve</span>: <span class="pl-k">function</span><span class="pl-kos">,</span> <span class="pl-s1">reject</span>: <span class="pl-k">function</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos"></span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">-</span><span class="pl-s1">with</span><span class="pl-c1">-</span><span class="pl-s1">resolvers</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-async-iteration"><code>Symbol.asyncIterator</code> for asynchronous iteration</a><a href="#index">⬆</a> </h5><a id="user-content-symbolasynciterator-for-asynchronous-iteration" class="anchor" aria-label="Permalink: Symbol.asyncIterator for asynchronous iteration⬆" href="#symbolasynciterator-for-asynchronous-iteration"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">asyncIterator</span>: @@<span class="pl-s1">asyncIterator</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iteration</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-Symbol-description"><code>Symbol.prototype.description</code></a><a href="#index">⬆</a> </h5><a id="user-content-symbolprototypedescription" class="anchor" aria-label="Permalink: Symbol.prototype.description⬆" href="#symbolprototypedescription"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">description</span>: <span class="pl-c1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">-</span><span class="pl-s1">description</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-well-formed-stringify">Well-formed <code>JSON.stringify</code></a><a href="#index">⬆</a> </h5><a id="user-content-well-formed-jsonstringify" class="anchor" aria-label="Permalink: Well-formed JSON.stringify⬆" href="#well-formed-jsonstringify"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-c1">JSON</span> <span class="pl-kos">{</span> <span class="pl-c1">stringify</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">replacer</span>?: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-v">Array</span><span class="pl-kos">,</span> <span class="pl-c1">space</span>?: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">well</span><span class="pl-c1">-</span><span class="pl-s1">formed</span><span class="pl-c1">-</span><span class="pl-s1">stringify</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-is-usv-string">Well-formed unicode strings</a><a href="#index">⬆</a> </h5><a id="user-content-well-formed-unicode-strings" class="anchor" aria-label="Permalink: Well-formed unicode strings⬆" href="#well-formed-unicode-strings"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-c1">isWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">toWellFormed</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">well</span><span class="pl-c1">-</span><span class="pl-s1">formed</span><span class="pl-c1">-</span><span class="pl-s1">unicode</span><span class="pl-c1">-</span><span class="pl-s1">strings</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-set-methods">New <code>Set</code> methods</a><a href="#index">⬆</a> </h5><a id="user-content-new-set-methods" class="anchor" aria-label="Permalink: New Set methods⬆" href="#new-set-methods"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Set</span> <span class="pl-kos">{</span> <span class="pl-c1">difference</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">intersection</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">isDisjointFrom</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">isSubsetOf</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">isSupersetOf</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">symmetricDifference</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-c1">union</span><span class="pl-kos">(</span><span class="pl-s1">other</span>: <span class="pl-v">SetLike</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Set</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">methods</span><span class="pl-c1">-</span><span class="pl-s1">v2</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Stage 3 proposals<a href="#index">⬆</a> </h4><a id="user-content-stage-3-proposals" class="anchor" aria-label="Permalink: Stage 3 proposals⬆" href="#stage-3-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><code>core-js/stage/3</code> entry point contains only stage 3 proposals, <code>core-js/stage/2.7</code> - stage 2.7 and stage 3, etc.</p> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stage</span><span class="pl-c1">/</span><span class="pl-c1">3</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-iterator-helpers"><code>Iterator</code> helpers</a><a href="#index">⬆</a> </h5><a id="user-content-iterator-helpers" class="anchor" aria-label="Permalink: Iterator helpers⬆" href="#iterator-helpers"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.constructor.js"><code>esnext.iterator.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.drop.js"><code>esnext.iterator.drop</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.every.js"><code>esnext.iterator.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.filter.js"><code>esnext.iterator.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.find.js"><code>esnext.iterator.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.flat-map.js"><code>esnext.iterator.flat-map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.for-each.js"><code>esnext.iterator.for-each</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.from.js"><code>esnext.iterator.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.map.js"><code>esnext.iterator.map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.reduce.js"><code>esnext.iterator.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.some.js"><code>esnext.iterator.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.take.js"><code>esnext.iterator.take</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.to-array.js"><code>esnext.iterator.to-array</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Iterator</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">drop</span><span class="pl-kos">(</span><span class="pl-s1">limit</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">map</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">reduce</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">some</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">take</span><span class="pl-kos">(</span><span class="pl-s1">limit</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-s1">toStringTag</span>: <span class="pl-s">'Iterator'</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">-</span><span class="pl-s1">helpers</span><span class="pl-c1">-</span><span class="pl-s1">stage</span><span class="pl-c1">-</span><span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-c1">2</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">drop</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">every</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">filter</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">find</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">flat</span><span class="pl-c1">-</span><span class="pl-s1">map</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">for</span><span class="pl-c1">-</span><span class="pl-s1">each</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">map</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">reduce</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">some</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">take</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">array</span></pre></div> <p><a href="https://tinyurl.com/249jw4e4" rel="nofollow">Examples</a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">,</span> <span class="pl-c1">7</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [9, 25]</span> <span class="pl-v">Iterator</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-en">next</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">done</span>: <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">random</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">.9</span><span class="pl-kos">,</span> <span class="pl-c1">value</span>: <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">random</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">*</span> <span class="pl-c1">10</span> <span class="pl-c1">|</span> <span class="pl-c1">0</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [7, 6, 3, 0, 2, 8]</span></pre></div> <div class="markdown-heading"><h6 class="heading-element">Caveats:<a href="#index">⬆</a> </h6><a id="user-content-caveats" class="anchor" aria-label="Permalink: Caveats:⬆" href="#caveats"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>For preventing prototypes pollution, in the <code>pure</code> version, new <code>%IteratorPrototype%</code> methods are not added to the real <code>%IteratorPrototype%</code>, they available only on wrappers - instead of <code>[].values().map(fn)</code> use <code>Iterator.from([]).map(fn)</code>.</li> </ul> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-from-async"><code>Array.fromAsync</code></a><a href="#index">⬆</a> </h5><a id="user-content-arrayfromasync" class="anchor" aria-label="Permalink: Array.fromAsync⬆" href="#arrayfromasync"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array.from-async.js"><code>esnext.array.from-async</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">fromAsync</span><span class="pl-kos">(</span><span class="pl-s1">asyncItems</span>: <span class="pl-v">AsyncIterable</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span> <span class="pl-c1">|</span> <span class="pl-v">ArrayLike</span><span class="pl-kos">,</span> <span class="pl-s1">mapfn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Array</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">array</span><span class="pl-c1">-</span><span class="pl-s1">from</span><span class="pl-c1">-</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">stage</span><span class="pl-c1">-</span><span class="pl-c1">2</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">array</span><span class="pl-c1">/</span><span class="pl-s1">from</span><span class="pl-c1">-</span><span class="pl-s1">async</span></pre></div> <p><a href="https://goo.gl/Jt7SsD" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">await</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">fromAsync</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">yield</span> <span class="pl-c1">*</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">i</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">i</span> <span class="pl-c1">*</span> <span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 4, 9]</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-json-parse-with-source"><code>JSON.parse</code> source text access</a><a href="#index">⬆</a> </h5><a id="user-content-jsonparse-source-text-access" class="anchor" aria-label="Permalink: JSON.parse source text access⬆" href="#jsonparse-source-text-access"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.json.is-raw-json.js"><code>esnext.json.is-raw-json</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.json.parse.js"><code>esnext.json.parse</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.json.raw-json.js"><code>esnext.json.raw-json</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-c1">JSON</span> <span class="pl-kos">{</span> <span class="pl-c1">isRawJSON</span><span class="pl-kos">(</span><span class="pl-v">O</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c">// patched for source support</span> <span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s1">text</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">reviver</span>?: <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos"></span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">context</span>: <span class="pl-kos">{</span> <span class="pl-s1">source</span>?: <span class="pl-s1">string</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos"></span><span class="pl-kos">;</span> <span class="pl-en">rawJSON</span><span class="pl-kos">(</span><span class="pl-s1">text</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">RawJSON</span><span class="pl-kos">;</span> <span class="pl-c">// patched for `JSON.rawJSON` support</span> <span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">replacer</span>?: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">number</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos"></span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=</span><span class="pl-c1">&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">space</span>?: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-s1"></span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">-</span><span class="pl-s1">parse</span><span class="pl-c1">-</span><span class="pl-s1">with</span><span class="pl-c1">-</span><span class="pl-s1">source</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">raw</span><span class="pl-c1">-</span><span class="pl-s1">json</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">parse</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">raw</span><span class="pl-c1">-</span><span class="pl-s1">json</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">json</span><span class="pl-c1">/</span><span class="pl-s1">stringify</span></pre></div> <p><a href="https://tinyurl.com/22phm569" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-en">digitsToBigInt</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">val</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> source <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-pds"><span class="pl-c1">/</span>^[0-9]+$<span class="pl-c1">/</span></span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">)</span> ? <span class="pl-v">BigInt</span><span class="pl-kos">(</span><span class="pl-s1">source</span><span class="pl-kos">)</span> : <span class="pl-s1">val</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">bigIntToRawJSON</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">val</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">val</span> <span class="pl-c1">===</span> <span class="pl-s">"bigint"</span> ? <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">rawJSON</span><span class="pl-kos">(</span><span class="pl-v">String</span><span class="pl-kos">(</span><span class="pl-s1">val</span><span class="pl-kos">)</span><span class="pl-kos">)</span> : <span class="pl-s1">val</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">tooBigForNumber</span> <span class="pl-c1">=</span> <span class="pl-v">BigInt</span><span class="pl-kos">(</span><span class="pl-v">Number</span><span class="pl-kos">.</span><span class="pl-c1">MAX_SAFE_INTEGER</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-c1">2n</span><span class="pl-kos">;</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-v">String</span><span class="pl-kos">(</span><span class="pl-s1">tooBigForNumber</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">digitsToBigInt</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-s1">tooBigForNumber</span><span class="pl-kos">;</span> <span class="pl-c">// true</span> <span class="pl-k">const</span> <span class="pl-s1">wayTooBig</span> <span class="pl-c1">=</span> <span class="pl-v">BigInt</span><span class="pl-kos">(</span><span class="pl-s">"1"</span> <span class="pl-c1">+</span> <span class="pl-s">"0"</span><span class="pl-kos">.</span><span class="pl-en">repeat</span><span class="pl-kos">(</span><span class="pl-c1">1000</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-v">String</span><span class="pl-kos">(</span><span class="pl-s1">wayTooBig</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">digitsToBigInt</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-s1">wayTooBig</span><span class="pl-kos">;</span> <span class="pl-c">// true</span> <span class="pl-k">const</span> <span class="pl-s1">embedded</span> <span class="pl-c1">=</span> <span class="pl-c1">JSON</span><span class="pl-kos">.</span><span class="pl-en">stringify</span><span class="pl-kos">(</span><span class="pl-kos">{</span> tooBigForNumber <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">bigIntToRawJSON</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">embedded</span> <span class="pl-c1">===</span> <span class="pl-s">'{"tooBigForNumber":9007199254740993}'</span><span class="pl-kos">;</span> <span class="pl-c">// true</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-float16array"><code>Float16</code> methods</a><a href="#index">⬆</a> </h5><a id="user-content-float16-methods" class="anchor" aria-label="Permalink: Float16 methods⬆" href="#float16-methods"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.data-view.get-float16.js"><code>esnext.data-view.get-float16</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.data-view.set-float16.js"><code>esnext.data-view.set-float16</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.math.f16round.js"><code>esnext.math.f16round</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">DataView</span> <span class="pl-kos">{</span> <span class="pl-c1">getFloat16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">number</span> <span class="pl-c1">setFloat16</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">namespace</span> <span class="pl-v">Math</span> <span class="pl-kos">{</span> <span class="pl-c1">fround</span><span class="pl-kos">(</span><span class="pl-s1">number</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">float16</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dataview</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">float16</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dataview</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">float16</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">math</span><span class="pl-c1">/</span><span class="pl-s1">f16round</span></pre></div> <p><a href="https://tinyurl.com/2zxkrwub" rel="nofollow">Examples</a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">f16round</span><span class="pl-kos">(</span><span class="pl-c1">1.337</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1.3369140625</span> <span class="pl-k">const</span> <span class="pl-s1">view</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">DataView</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">ArrayBuffer</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">view</span><span class="pl-kos">.</span><span class="pl-en">setFloat16</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">1.337</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">view</span><span class="pl-kos">.</span><span class="pl-en">getFloat16</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1.3369140625</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-arraybuffer-base64"><code>Uint8Array</code> to / from base64 and hex</a><a href="#index">⬆</a> </h5><a id="user-content-uint8array-to--from-base64-and-hex" class="anchor" aria-label="Permalink: Uint8Array to / from base64 and hex⬆" href="#uint8array-to--from-base64-and-hex"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.uint8-array.from-base64.js"><code>esnext.uint8-array.from-base64</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.uint8-array.from-hex.js"><code>esnext.uint8-array.from-hex</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.uint8-array.to-base64.js"><code>esnext.uint8-array.to-base64</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.uint8-array.to-hex.js"><code>esnext.uint8-array.to-hex</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Uint8Array</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">fromBase64</span><span class="pl-kos">(</span><span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>?: <span class="pl-kos">{</span> <span class="pl-c1">alphabet</span>?: <span class="pl-s">'base64'</span> <span class="pl-c1">|</span> <span class="pl-s">'base64url'</span><span class="pl-kos">,</span> <span class="pl-c1">strict</span>?: <span class="pl-s1">boolean</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-c1">Uint8Array</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">fromHex</span><span class="pl-kos">(</span><span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">Uint8Array</span><span class="pl-kos">;</span> <span class="pl-c1">toBase64</span><span class="pl-kos">(</span><span class="pl-s1">options</span>?: <span class="pl-kos">{</span> <span class="pl-c1">alphabet</span>?: <span class="pl-s">'base64'</span> <span class="pl-c1">|</span> <span class="pl-s">'base64url'</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toHex</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <pre><code>[*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/array-buffer-base64 core-js(-pure)/full/typed-array/from-base64 core-js(-pure)/full/typed-array/from-hex core-js(-pure)/full/typed-array/to-base64 core-js(-pure)/full/typed-array/to-hex </code></pre> <p><em>Example</em>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">arr</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Uint8Array</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">72</span><span class="pl-kos">,</span> <span class="pl-c1">101</span><span class="pl-kos">,</span> <span class="pl-c1">108</span><span class="pl-kos">,</span> <span class="pl-c1">108</span><span class="pl-kos">,</span> <span class="pl-c1">111</span><span class="pl-kos">,</span> <span class="pl-c1">32</span><span class="pl-kos">,</span> <span class="pl-c1">87</span><span class="pl-kos">,</span> <span class="pl-c1">111</span><span class="pl-kos">,</span> <span class="pl-c1">114</span><span class="pl-kos">,</span> <span class="pl-c1">108</span><span class="pl-kos">,</span> <span class="pl-c1">100</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-en">toBase64</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'SGVsbG8gV29ybGQ='</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">arr</span><span class="pl-kos">.</span><span class="pl-en">toHex</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '48656c6c6f20576f726c64'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Uint8Array</span><span class="pl-kos">.</span><span class="pl-en">fromBase64</span><span class="pl-kos">(</span><span class="pl-s">'SGVsbG8gV29ybGQ='</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100])</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Uint8Array</span><span class="pl-kos">.</span><span class="pl-en">fromHex</span><span class="pl-kos">(</span><span class="pl-s">'48656c6c6f20576f726c64'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100])</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-explicit-resource-management">Explicit Resource Management</a><a href="#index">⬆</a> </h5><a id="user-content-explicit-resource-management" class="anchor" aria-label="Permalink: Explicit Resource Management⬆" href="#explicit-resource-management"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Note: <strong>This is only built-ins for this proposal, <code>using</code> syntax support requires transpiler support.</strong></p> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.dispose.js"><code>esnext.symbol.dispose</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.disposable-stack.constructor.js"><code>esnext.disposable-stack.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.suppressed-error.constructor.js"><code>esnext.suppressed-error.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.dispose.js"><code>esnext.iterator.dispose</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.async-dispose.js"><code>esnext.symbol.async-dispose</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-disposable-stack.constructor.js"><code>esnext.async-disposable-stack.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.async-dispose.js"><code>esnext.async-iterator.async-dispose</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">asyncDispose</span>: @@<span class="pl-s1">asyncDispose</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">dispose</span>: @@<span class="pl-s1">dispose</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">DisposableStack</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">DisposableStack</span><span class="pl-kos">;</span> <span class="pl-c1">dispose</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">undefined</span><span class="pl-kos">;</span> <span class="pl-c1">use</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-v">Disposable</span><span class="pl-kos">)</span>: <span class="pl-c1">value</span><span class="pl-kos">;</span> <span class="pl-c1">adopt</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">object</span><span class="pl-kos">,</span> <span class="pl-s1">onDispose</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">value</span><span class="pl-kos">;</span> <span class="pl-c1">defer</span><span class="pl-kos">(</span><span class="pl-s1">onDispose</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">undefined</span><span class="pl-kos">;</span> @@<span class="pl-en">dispose</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">undefined</span><span class="pl-kos">;</span> @@<span class="pl-s1">toStringTag</span>: <span class="pl-s">'DisposableStack'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">AsyncDisposableStack</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">AsyncDisposableStack</span><span class="pl-kos">;</span> <span class="pl-c1">disposeAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-ent">undefined</span><span class="pl-c1">&gt;</span>; use(value: AsyncDisposable | Disposable): value; adopt(value: object, onDispose: Function): value; defer(onDispose: Function): undefined; @@asyncDispose(): Promise<span class="pl-c1">&lt;</span><span class="pl-ent">undefined</span><span class="pl-c1">&gt;</span>; @@toStringTag: 'AsyncDisposableStack'; <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">SuppressedError</span> <span class="pl-k">extends</span> <span class="pl-v">Error</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">error</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">suppressed</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">message</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">SuppressedError</span><span class="pl-kos">;</span> <span class="pl-c1">error</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c1">suppressed</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c1">message</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">cause</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Iterator</span> <span class="pl-kos">{</span> @@<span class="pl-en">dispose</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">undefined</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">AsyncIterator</span> <span class="pl-kos">{</span> @@<span class="pl-en">asyncDispose</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-c1">&lt;</span><span class="pl-c1">undefined</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">explicit</span><span class="pl-c1">-</span><span class="pl-s1">resource</span><span class="pl-c1">-</span><span class="pl-s1">management</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">dispose</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">/</span><span class="pl-s1">dispose</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">disposable</span><span class="pl-c1">-</span><span class="pl-s1">stack</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">disposable</span><span class="pl-c1">-</span><span class="pl-s1">stack</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">suppressed</span><span class="pl-c1">-</span><span class="pl-s1">error</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">dispose</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">dispose</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-decorator-metadata"><code>Symbol.metadata</code> for decorators metadata proposal</a><a href="#index">⬆</a> </h5><a id="user-content-symbolmetadata-for-decorators-metadata-proposal" class="anchor" aria-label="Permalink: Symbol.metadata for decorators metadata proposal⬆" href="#symbolmetadata-for-decorators-metadata-proposal"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.metadata.js"><code>esnext.symbol.metadata</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.function.metadata.js"><code>esnext.function.metadata</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">metadata</span>: @@<span class="pl-s1">metadata</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Function</span> <span class="pl-kos">{</span> @@<span class="pl-s1">metadata</span>: <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/decorator-metadata-v2 core-js(-pure)/actual|full/symbol/metadata core-js(-pure)/actual|full/function/metadata </code></pre> <div class="markdown-heading"><h4 class="heading-element">Stage 2.7 proposals<a href="#index">⬆</a> </h4><a id="user-content-stage-27-proposals" class="anchor" aria-label="Permalink: Stage 2.7 proposals⬆" href="#stage-27-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/stage/2.7 </code></pre> <div class="markdown-heading"><h5 class="heading-element"><a href="https://github.com/tc39/proposal-promise-try"><code>Promise.try</code></a></h5><a id="user-content-promisetry" class="anchor" aria-label="Permalink: Promise.try" href="#promisetry"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.promise.try.js"><code>esnext.promise.try</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Promise</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">try</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Promise</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">-</span><span class="pl-s1">try</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">promise</span><span class="pl-c1">/</span><span class="pl-s1">try</span></pre></div> <p><a href="https://goo.gl/k5GGRo" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">try</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">`Promise, resolved as <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">it</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">try</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-c1">42</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">`Promise, rejected as <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">it</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">try</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">`Promise, resolved as <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">it</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Promise</span><span class="pl-kos">.</span><span class="pl-en">try</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-c1">42</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">catch</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">`Promise, rejected as <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">it</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"><a href="https://github.com/tc39/proposal-math-sum"><code>Math.sumPrecise</code></a></h5><a id="user-content-mathsumprecise" class="anchor" aria-label="Permalink: Math.sumPrecise" href="#mathsumprecise"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.math.sum-precise.js"><code>esnext.math.sum-precise</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Math</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">sumPrecise</span><span class="pl-kos">(</span><span class="pl-s1">items</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">number</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">math</span><span class="pl-c1">-</span><span class="pl-s1">sum</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">math</span><span class="pl-c1">/</span><span class="pl-s1">sum</span><span class="pl-c1">-</span><span class="pl-s1">precise</span></pre></div> <p><a href="https://tinyurl.com/2bd3nako" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c1">1e20</span> <span class="pl-c1">+</span> <span class="pl-c1">0.1</span> <span class="pl-c1">+</span> <span class="pl-c1">-</span><span class="pl-c1">1e20</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0</span> <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-en">sumPrecise</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1e20</span><span class="pl-kos">,</span> <span class="pl-c1">0.1</span><span class="pl-kos">,</span> <span class="pl-c1">-</span><span class="pl-c1">1e20</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0.1</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Stage 2 proposals<a href="#index">⬆</a> </h4><a id="user-content-stage-2-proposals" class="anchor" aria-label="Permalink: Stage 2 proposals⬆" href="#stage-2-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js(-pure)/stage/2 </code></pre> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-async-iterator-helpers"><code>AsyncIterator</code> helpers</a><a href="#index">⬆</a> </h5><a id="user-content-asynciterator-helpers" class="anchor" aria-label="Permalink: AsyncIterator helpers⬆" href="#asynciterator-helpers"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.constructor.js"><code>esnext.async-iterator.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.drop.js"><code>esnext.async-iterator.drop</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.every.js"><code>esnext.async-iterator.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.filter.js"><code>esnext.async-iterator.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.find.js"><code>esnext.async-iterator.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.flat-map.js"><code>esnext.async-iterator.flat-map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.for-each.js"><code>esnext.async-iterator.for-each</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.from.js"><code>esnext.async-iterator.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.map.js"><code>esnext.async-iterator.map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.reduce.js"><code>esnext.async-iterator.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.some.js"><code>esnext.async-iterator.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.take.js"><code>esnext.async-iterator.take</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.async-iterator.to-array.js"><code>esnext.async-iterator.to-array</code></a>, , <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.to-async.js"><code>esnext.iterator.to-async</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Iterator</span> <span class="pl-kos">{</span> <span class="pl-c1">toAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">AsyncIterator</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">AsyncIterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">drop</span><span class="pl-kos">(</span><span class="pl-s1">limit</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-s1">boolean</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">flatMap</span><span class="pl-kos">(</span><span class="pl-s1">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-v">AsyncIterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-ent">void</span><span class="pl-c1">&gt;</span>; map(async callbackfn: (value: any, counter: uint) =<span class="pl-c1">&gt;</span> any<span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">reduce</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">some</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">counter</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-s1">boolean</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-s1">limit</span>: <span class="pl-s1">uint</span><span class="pl-kos">)</span>: <span class="pl-v">AsyncIterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">any</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Promise</span><span class="pl-c1">&lt;</span><span class="pl-v">Array</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-s1">toStringTag</span>: <span class="pl-s">'AsyncIterator'</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">-</span><span class="pl-s1">helpers</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">drop</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">every</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">filter</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">find</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">flat</span><span class="pl-c1">-</span><span class="pl-s1">map</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">for</span><span class="pl-c1">-</span><span class="pl-s1">each</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">map</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">reduce</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">some</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">take</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">async</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">array</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">async</span></pre></div> <p><a href="https://tinyurl.com/28tet4ek" rel="nofollow">Examples</a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">await</span> <span class="pl-v">AsyncIterator</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-c1">6</span><span class="pl-kos">,</span> <span class="pl-c1">7</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">drop</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">take</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [9, 25]</span> <span class="pl-k">await</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toArray</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 4, 9]</span></pre></div> <div class="markdown-heading"><h6 class="heading-element">Caveats:<a href="#index">⬆</a> </h6><a id="user-content-caveats-1" class="anchor" aria-label="Permalink: Caveats:⬆" href="#caveats-1"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>For preventing prototypes pollution, in the <code>pure</code> version, new <code>%AsyncIteratorPrototype%</code> methods are not added to the real <code>%AsyncIteratorPrototype%</code>, they available only on wrappers - instead of <code>[].values().toAsync().map(fn)</code> use <code>AsyncIterator.from([]).map(fn)</code>.</li> <li>Now, we have access to the real <code>%AsyncIteratorPrototype%</code> only with usage async generators syntax. So, for compatibility the library with old browsers, we should use <code>Function</code> constructor. However, that breaks compatibility with CSP. So, if you wanna use the real <code>%AsyncIteratorPrototype%</code>, you should set <code>USE_FUNCTION_CONSTRUCTOR</code> option in the <code>core-js/configurator</code> to <code>true</code>:</li> </ul> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">configurator</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/configurator'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">configurator</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">USE_FUNCTION_CONSTRUCTOR</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/actual/async-iterator'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">/* empty */</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-v">AsyncIterator</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <ul> <li>As an alternative, you could pass to the <code>core-js/configurator</code> an object that will be considered as <code>%AsyncIteratorPrototype%</code>:</li> </ul> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">configurator</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/configurator'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> getPrototypeOf <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-s1">configurator</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">AsyncIteratorPrototype</span>: <span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">/* empty */</span> <span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/actual/async-iterator'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">/* empty */</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-v">AsyncIterator</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-Number.range"><code>Iterator.range</code></a><a href="#index">⬆</a> </h5><a id="user-content-iteratorrange" class="anchor" aria-label="Permalink: Iterator.range⬆" href="#iteratorrange"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.iterator.range.js"><code>esnext.iterator.range</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Iterator</span> <span class="pl-kos">{</span> <span class="pl-c1">range</span><span class="pl-kos">(</span><span class="pl-s1">start</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>: <span class="pl-kos">{</span> <span class="pl-c1">step</span>: <span class="pl-s1">number</span><span class="pl-kos"></span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">inclusive</span>: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-c1">|</span> <span class="pl-s1">step</span>: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">)</span>: <span class="pl-c1">NumericRangeIterator</span><span class="pl-kos">;</span> <span class="pl-c1">range</span><span class="pl-kos">(</span><span class="pl-s1">start</span>: <span class="pl-s1">bigint</span><span class="pl-kos">,</span> <span class="pl-s1">end</span>: <span class="pl-s1">bigint</span> <span class="pl-c1">|</span> <span class="pl-v">Infinity</span> <span class="pl-c1">|</span> <span class="pl-c1">-</span><span class="pl-v">Infinity</span><span class="pl-kos">,</span> <span class="pl-s1">options</span>: <span class="pl-kos">{</span> <span class="pl-c1">step</span>: <span class="pl-s1">bigint</span><span class="pl-kos"></span> <span class="pl-c1">=</span> <span class="pl-c1">1n</span><span class="pl-kos">,</span> <span class="pl-s1">inclusive</span>: <span class="pl-s1">boolean</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-c1">|</span> <span class="pl-s1">step</span>: <span class="pl-s1">bigint</span> <span class="pl-c1">=</span> <span class="pl-c1">1n</span><span class="pl-kos">)</span>: <span class="pl-c1">NumericRangeIterator</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">number</span><span class="pl-c1">-</span><span class="pl-s1">range</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span><span class="pl-c1">/</span><span class="pl-s1">range</span></pre></div> <p><a href="https://tinyurl.com/2gobe777" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">i</span> <span class="pl-k">of</span> <span class="pl-v">Iterator</span><span class="pl-kos">.</span><span class="pl-en">range</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">10</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 2, 3, 4, 5, 6, 7, 8, 9</span> <span class="pl-kos">}</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">i</span> <span class="pl-k">of</span> <span class="pl-v">Iterator</span><span class="pl-kos">.</span><span class="pl-en">range</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">step</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">inclusive</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 1, 4, 7, 10</span> <span class="pl-kos">}</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/thumbsupep/proposal-upsert"><code>Map.prototype.emplace</code></a><a href="#index">⬆</a> </h5><a id="user-content-mapprototypeemplace" class="anchor" aria-label="Permalink: Map.prototype.emplace⬆" href="#mapprototypeemplace"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.emplace.js"><code>esnext.map.emplace</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-map.emplace.js"><code>esnext.weak-map.emplace</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Map</span> <span class="pl-kos">{</span> <span class="pl-c1">emplace</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">update</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">handler</span>: <span class="pl-s1">object</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">updated</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">insert</span>: <span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">handler</span>: <span class="pl-s1">object</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">updated</span> <span class="pl-c1">|</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">class</span> <span class="pl-v">WeakMap</span> <span class="pl-kos">{</span> <span class="pl-s1">emplace</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">update</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">handler</span>: <span class="pl-s1">object</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">updated</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">insert</span>: <span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">handler</span>: <span class="pl-s1">object</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">updated</span> <span class="pl-c1">|</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">-</span><span class="pl-s1">upsert</span><span class="pl-c1">-</span><span class="pl-s1">stage</span><span class="pl-c1">-</span><span class="pl-c1">2</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">emplace</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">emplace</span></pre></div> <p><a href="https://is.gd/ty5I2v" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">map</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Map</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">emplace</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">update</span>: <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-en">insert</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">3</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-s1">map</span><span class="pl-kos">.</span><span class="pl-en">emplace</span><span class="pl-kos">(</span><span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">update</span>: <span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-en">insert</span>: <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">3</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 3</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">map</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Map { 'a': 4, 'b': 3 }</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-is-template-object"><code>Array.isTemplateObject</code></a><a href="#index">⬆</a> </h5><a id="user-content-arrayistemplateobject" class="anchor" aria-label="Permalink: Array.isTemplateObject⬆" href="#arrayistemplateobject"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array.is-template-object.js"><code>esnext.array.is-template-object</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">isTemplateObject</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">array</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">template</span><span class="pl-c1">-</span><span class="pl-s1">object</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">array</span><span class="pl-c1">/</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">template</span><span class="pl-c1">-</span><span class="pl-s1">object</span></pre></div> <p><em>Example</em>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">isTemplateObject</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-s">`qwe<span class="pl-s1"><span class="pl-kos">${</span> <span class="pl-c1">123</span> <span class="pl-kos">}</span></span>asd`</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-dedent"><code>String.dedent</code></a><a href="#index">⬆</a> </h5><a id="user-content-stringdedent" class="anchor" aria-label="Permalink: String.dedent⬆" href="#stringdedent"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.string.dedent.js"><code>esnext.string.dedent</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">dedent</span><span class="pl-kos">(</span><span class="pl-s1">templateOrTag</span>: <span class="pl-kos">{</span> <span class="pl-c1">raw</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span> <span class="pl-c1">|</span> <span class="pl-k">function</span><span class="pl-kos">,</span> ...<span class="pl-s1">substitutions</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-k">function</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">dedent</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">/</span><span class="pl-s1">dedent</span></pre></div> <p><a href="https://tinyurl.com/2lbnofgo" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">message</span> <span class="pl-c1">=</span> <span class="pl-c1">42</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">dedent</span><span class="pl-s">`</span> <span class="pl-s"> print('<span class="pl-s1"><span class="pl-kos">${</span> <span class="pl-s1">message</span> <span class="pl-kos">}</span></span>')</span> <span class="pl-s">`</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; print('42')</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">dedent</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">)</span><span class="pl-s">`</span> <span class="pl-s"> print('<span class="pl-s1"><span class="pl-kos">${</span> <span class="pl-s1">message</span> <span class="pl-kos">}</span></span>')</span> <span class="pl-s">`</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ["print('", "')", raw: Array(2)], 42</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-regex-escaping"><code>RegExp</code> escaping</a><a href="#index">⬆</a> </h5><a id="user-content-regexp-escaping" class="anchor" aria-label="Permalink: RegExp escaping⬆" href="#regexp-escaping"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.regexp.escape.js"><code>esnext.regexp.escape</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">RegExp</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">escape</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">regexp</span><span class="pl-c1">-</span><span class="pl-s1">escaping</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">regexp</span><span class="pl-c1">/</span><span class="pl-s1">escape</span></pre></div> <p><a href="https://tinyurl.com/2cdgu3cz" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">RegExp</span><span class="pl-kos">.</span><span class="pl-en">escape</span><span class="pl-kos">(</span><span class="pl-s">'10$'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '\\x310\\x24'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">RegExp</span><span class="pl-kos">.</span><span class="pl-en">escape</span><span class="pl-kos">(</span><span class="pl-s">'abcdefg_123456'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'abcdefg_123456'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">RegExp</span><span class="pl-kos">.</span><span class="pl-en">escape</span><span class="pl-kos">(</span><span class="pl-s">'(){}[]|,.?*+-^$=&lt;&gt;\\/#&amp;!%:;@~\'"`'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '\\x28\\x29\\x7b\\x7d\\x5b\\x5d\\x7c\\x2c\\x2e\\x3f\\x2a\\x2b\\x2d\\x5e\\x24\\x3d\\x3c\\x3e\\x5c\\x2f\\x23\\x26\\x21\\x25\\x3a\\x3b\\x40\\x7e\\x27\\x22\\x60'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">RegExp</span><span class="pl-kos">.</span><span class="pl-en">escape</span><span class="pl-kos">(</span><span class="pl-s">'\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029\\ufeff'</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-symbol-predicates"><code>Symbol</code> predicates</a><a href="#index">⬆</a> </h5><a id="user-content-symbol-predicates" class="anchor" aria-label="Permalink: Symbol predicates⬆" href="#symbol-predicates"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.is-registered-symbol.js"><code>esnext.symbol.is-registered-symbol</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.is-well-known-symbol.js"><code>esnext.symbol.is-well-known-symbol</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">isRegisteredSymbol</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isWellKnownSymbol</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <pre><code>[*CommonJS entry points:*](#commonjs-api) ```js core-js/proposals/symbol-predicates-v2 core-js(-pure)/full/symbol/is-registered-symbol core-js(-pure)/full/symbol/is-well-known-symbol </code></pre> <p><a href="https://tinyurl.com/2oqoaq7t" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">isRegisteredSymbol</span><span class="pl-kos">(</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">for</span><span class="pl-kos">(</span><span class="pl-s">'key'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">isRegisteredSymbol</span><span class="pl-kos">(</span><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'key'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">isWellKnownSymbol</span><span class="pl-kos">(</span><span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">iterator</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-en">isWellKnownSymbol</span><span class="pl-kos">(</span><span class="pl-v">Symbol</span><span class="pl-kos">(</span><span class="pl-s">'key'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Stage 1 proposals<a href="#index">⬆</a> </h4><a id="user-content-stage-1-proposals" class="anchor" aria-label="Permalink: Stage 1 proposals⬆" href="#stage-1-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stage</span><span class="pl-c1">/</span><span class="pl-c1">1</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/zenparsing/es-observable"><code>Observable</code></a><a href="#index">⬆</a> </h5><a id="user-content-observable" class="anchor" aria-label="Permalink: Observable⬆" href="#observable"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.observable.js"><code>esnext.observable</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.observable.js"><code>esnext.symbol.observable</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Observable</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">subscriber</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-c1">Observable</span><span class="pl-kos">;</span> <span class="pl-c1">subscribe</span><span class="pl-kos">(</span><span class="pl-s1">observer</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-kos">{</span> <span class="pl-c1">next</span>?: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-c1">error</span>?: <span class="pl-v">Function</span><span class="pl-kos">,</span> <span class="pl-c1">complete</span>?: <span class="pl-v">Function</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-c1">Subscription</span><span class="pl-kos">;</span> @@<span class="pl-en">observable</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">items</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-v">Observable</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-k">from</span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-v">Observable</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span><span class="pl-kos">)</span>: <span class="pl-v">Observable</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-s1">readonly</span> <span class="pl-s1">attribute</span> @@<span class="pl-s1">species</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">observable</span>: @@<span class="pl-s1">observable</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">observable</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">observable</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">/</span><span class="pl-s1">observable</span></pre></div> <p><a href="https://goo.gl/1LDywi" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">new</span> <span class="pl-v">Observable</span><span class="pl-kos">(</span><span class="pl-s1">observer</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">observer</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-s">'hello'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">observer</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-s">'world'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">observer</span><span class="pl-kos">.</span><span class="pl-en">complete</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">subscribe</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-en">complete</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-collection-methods">New collections methods</a><a href="#index">⬆</a> </h5><a id="user-content-new-collections-methods" class="anchor" aria-label="Permalink: New collections methods⬆" href="#new-collections-methods"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.add-all.js"><code>esnext.set.add-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.delete-all.js"><code>esnext.set.delete-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.every.js"><code>esnext.set.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.filter.js"><code>esnext.set.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.find.js"><code>esnext.set.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.join.js"><code>esnext.set.join</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.map.js"><code>esnext.set.map</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.reduce.js"><code>esnext.set.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.some.js"><code>esnext.set.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.delete-all.js"><code>esnext.map.delete-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.every.js"><code>esnext.map.every</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.filter.js"><code>esnext.map.filter</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.find.js"><code>esnext.map.find</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.find-key.js"><code>esnext.map.find-key</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.includes.js"><code>esnext.map.includes</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.key-by.js"><code>esnext.map.key-by</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.key-of.js"><code>esnext.map.key-of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.map-keys.js"><code>esnext.map.map-keys</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.map-values.js"><code>esnext.map.map-values</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.merge.js"><code>esnext.map.merge</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.reduce.js"><code>esnext.map.reduce</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.some.js"><code>esnext.map.some</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.update.js"><code>esnext.map.update</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-set.add-all.js"><code>esnext.weak-set.add-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-set.delete-all.js"><code>esnext.weak-set.delete-all</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-map.delete-all.js"><code>esnext.weak-map.delete-all</code></a></p> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-setmap-offrom"><code>.of</code> and <code>.from</code> methods on collection constructors</a><a href="#index">⬆</a> </h5><a id="user-content-of-and-from-methods-on-collection-constructors" class="anchor" aria-label="Permalink: .of and .from methods on collection constructors⬆" href="#of-and-from-methods-on-collection-constructors"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.of.js"><code>esnext.set.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.set.from.js"><code>esnext.set.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.of.js"><code>esnext.map.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.map.from.js"><code>esnext.map.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-set.of.js"><code>esnext.weak-set.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-set.from.js"><code>esnext.weak-set.from</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-map.of.js"><code>esnext.weak-map.of</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.weak-map.from.js"><code>esnext.weak-map.from</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Set</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">Set</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Set</span><span class="pl-kos">;</span> <span class="pl-c1">addAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">deleteAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Set</span><span class="pl-kos">;</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">join</span><span class="pl-kos">(</span><span class="pl-s1">separator</span>: <span class="pl-s1">string</span> <span class="pl-c1">=</span> <span class="pl-s">','</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">map</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Set</span><span class="pl-kos">;</span> <span class="pl-c1">reduce</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">some</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">Map</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">keyBy</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-c1">deleteAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">every</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">filter</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-c1">find</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">findKey</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">includes</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">keyOf</span><span class="pl-kos">(</span><span class="pl-s1">searchElement</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-c1">mapKeys</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-c1">mapValues</span><span class="pl-kos">(</span><span class="pl-s1">mapFn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">Map</span><span class="pl-kos">;</span> <span class="pl-c1">merge</span><span class="pl-kos">(</span>...<span class="pl-s1">iterables</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-v">Iterable</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">reduce</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">memo</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">initialValue</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">any</span><span class="pl-kos">;</span> <span class="pl-c1">some</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">update</span><span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">thunk</span>?: <span class="pl-kos">(</span><span class="pl-s1">key</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">WeakSet</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">WeakSet</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">WeakSet</span><span class="pl-kos">;</span> <span class="pl-c1">addAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-c1">deleteAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">WeakMap</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">of</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">WeakMap</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">from</span><span class="pl-kos">(</span><span class="pl-s1">iterable</span>: <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> <span class="pl-s1">mapFn</span>?: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">key</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">WeakMap</span><span class="pl-kos">;</span> <span class="pl-c1">deleteAll</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">collection</span><span class="pl-c1">-</span><span class="pl-s1">methods</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">collection</span><span class="pl-c1">-</span><span class="pl-s1">of</span><span class="pl-c1">-</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">add</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-k">delete</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">every</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">filter</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">find</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">join</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">map</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">of</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">reduce</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">some</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-k">delete</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">every</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">filter</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">find</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">find</span><span class="pl-c1">-</span><span class="pl-s1">key</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">includes</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">key</span><span class="pl-c1">-</span><span class="pl-s1">by</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">key</span><span class="pl-c1">-</span><span class="pl-s1">of</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">-</span><span class="pl-s1">keys</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">-</span><span class="pl-s1">values</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">merge</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">of</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">reduce</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">some</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">update</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">add</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-k">delete</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">of</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">set</span><span class="pl-c1">/</span><span class="pl-s1">from</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-k">delete</span><span class="pl-c1">-</span><span class="pl-s1">all</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">of</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">weak</span><span class="pl-c1">-</span><span class="pl-s1">map</span><span class="pl-c1">/</span><span class="pl-s1">from</span></pre></div> <p><code>.of</code> / <code>.from</code> <a href="https://goo.gl/mSC7eU" rel="nofollow"><em>examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Set</span><span class="pl-kos">.</span><span class="pl-en">of</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set {1, 2, 3}</span> <span class="pl-v">Map</span><span class="pl-kos">.</span><span class="pl-en">from</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">[</span><span class="pl-s1">key</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-s1">value</span> <span class="pl-c1">**</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Map { 1: 4, 9: 16 }</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey"><code>compositeKey</code> and <code>compositeSymbol</code></a><a href="#index">⬆</a> </h5><a id="user-content-compositekey-and-compositesymbol" class="anchor" aria-label="Permalink: compositeKey and compositeSymbol⬆" href="#compositekey-and-compositesymbol"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.composite-key.js"><code>esnext.composite-key</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.composite-symbol.js"><code>esnext.composite-symbol</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">compositeKey</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">object</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">compositeSymbol</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">symbol</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">keys</span><span class="pl-c1">-</span><span class="pl-s1">composition</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">composite</span><span class="pl-c1">-</span><span class="pl-s1">key</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">composite</span><span class="pl-c1">-</span><span class="pl-s1">symbol</span></pre></div> <p><a href="https://goo.gl/2oPAH7" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">// returns a symbol</span> <span class="pl-k">const</span> <span class="pl-s1">symbol</span> <span class="pl-c1">=</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">symbol</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'symbol'</span> <span class="pl-c">// works the same, but returns a plain frozen object without a prototype</span> <span class="pl-k">const</span> <span class="pl-s1">key</span> <span class="pl-c1">=</span> <span class="pl-en">compositeKey</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'object'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">.</span><span class="pl-c1">toString</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '[object Object]'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; null</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">isFrozen</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'b'</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'c'</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-c1">!==</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-c1">!==</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-en">compositeSymbol</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-filtering">Array filtering</a><a href="#index">⬆</a> </h5><a id="user-content-array-filtering" class="anchor" aria-label="Permalink: Array filtering⬆" href="#array-filtering"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array.filter-reject.js"><code>esnext.array.filter-reject</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.typed-array.filter-reject.js"><code>esnext.typed-array.filter-reject</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">filterReject</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">filterReject</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">boolean</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>?: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-filtering-stage-1 core-js(-pure)/full/array(/virtual)/filter-reject core-js/full/typed-array/filter-reject </code></pre> <p><a href="https://is.gd/jJcoWw" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">filterReject</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span> <span class="pl-c1">%</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [2, 4]</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-array-unique">Array deduplication</a><a href="#index">⬆</a> </h5><a id="user-content-array-deduplication" class="anchor" aria-label="Permalink: Array deduplication⬆" href="#array-deduplication"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.array.unique-by.js"><code>esnext.array.unique-by</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.typed-array.unique-by.js"><code>esnext.typed-array.unique-by</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-c1">uniqueBy</span><span class="pl-kos">(</span><span class="pl-s1">resolver</span>?: <span class="pl-kos">(</span><span class="pl-s1">item</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span> <span class="pl-kos">{</span> <span class="pl-c1">uniqueBy</span><span class="pl-kos">(</span><span class="pl-s1">resolver</span>?: <span class="pl-kos">(</span><span class="pl-s1">item</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">%</span><span class="pl-v">TypedArray</span><span class="pl-c1">%</span><span class="pl-kos">;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/array-unique core-js(-pure)/full/array(/virtual)/unique-by core-js/full/typed-array/unique-by </code></pre> <p><a href="https://is.gd/lilNPu" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">uniqueBy</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// [1, 2, 3]</span> <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">uid</span>: <span class="pl-c1">10000</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">uid</span>: <span class="pl-c1">10000</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">uid</span>: <span class="pl-c1">10001</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">uniqueBy</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">it</span><span class="pl-kos">.</span><span class="pl-c1">uid</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [{ id: 1, uid: 10000 }, { id: 3, uid: 10001 }]</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-dataview-get-set-uint8clamped"><code>DataView</code> get / set <code>Uint8Clamped</code> methods</a><a href="#index">⬆</a> </h5><a id="user-content-dataview-get--set-uint8clamped-methods" class="anchor" aria-label="Permalink: DataView get / set Uint8Clamped methods⬆" href="#dataview-get--set-uint8clamped-methods"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.data-view.get-uint8-clamped.js"><code>esnext.data-view.get-uint8-clamped</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.data-view.set-uint8-clamped.js"><code>esnext.data-view.set-uint8-clamped</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">DataView</span> <span class="pl-kos">{</span> <span class="pl-c1">getUint8Clamped</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-c1">uint8</span> <span class="pl-c1">setUint8Clamped</span><span class="pl-kos">(</span><span class="pl-s1">offset</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">data</span><span class="pl-c1">-</span><span class="pl-s1">view</span><span class="pl-c1">-</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">uint8</span><span class="pl-c1">-</span><span class="pl-s1">clamped</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dataview</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">uint8</span><span class="pl-c1">-</span><span class="pl-s1">clamped</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dataview</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">uint8</span><span class="pl-c1">-</span><span class="pl-s1">clamped</span></pre></div> <p><a href="https://tinyurl.com/2h4zv8sw" rel="nofollow">Examples</a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">view</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">DataView</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">ArrayBuffer</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">view</span><span class="pl-kos">.</span><span class="pl-en">setUint8Clamped</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">100500</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">view</span><span class="pl-kos">.</span><span class="pl-en">getUint8Clamped</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 255</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-number-fromstring"><code>Number.fromString</code></a><a href="#index">⬆</a> </h5><a id="user-content-numberfromstring" class="anchor" aria-label="Permalink: Number.fromString⬆" href="#numberfromstring"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.number.from-string.js"><code>esnext.number.from-string</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Number</span> <span class="pl-kos">{</span> <span class="pl-c1">fromString</span><span class="pl-kos">(</span><span class="pl-s1">string</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">radix</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">number</span><span class="pl-c1">-</span><span class="pl-s1">from</span><span class="pl-c1">-</span><span class="pl-s1">string</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">number</span><span class="pl-c1">/</span><span class="pl-s1">from</span><span class="pl-c1">-</span><span class="pl-s1">string</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-cooked"><code>String.cooked</code></a><a href="#index">⬆</a> </h5><a id="user-content-stringcooked" class="anchor" aria-label="Permalink: String.cooked⬆" href="#stringcooked"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.string.cooked.js"><code>esnext.string.cooked</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">cooked</span><span class="pl-kos">(</span><span class="pl-s1">template</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">,</span> ...<span class="pl-s1">substitutions</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">cooked</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">/</span><span class="pl-s1">cooked</span></pre></div> <p><a href="https://is.gd/7QPnss" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-en">safePath</span><span class="pl-kos">(</span><span class="pl-s1">strings</span><span class="pl-kos">,</span> ...<span class="pl-s1">subs</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-v">String</span><span class="pl-kos">.</span><span class="pl-en">cooked</span><span class="pl-kos">(</span><span class="pl-s1">strings</span><span class="pl-kos">,</span> ...<span class="pl-s1">subs</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">sub</span> <span class="pl-c1">=&gt;</span> <span class="pl-en">encodeURIComponent</span><span class="pl-kos">(</span><span class="pl-s1">sub</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-s1">id</span> <span class="pl-c1">=</span> <span class="pl-s">'spottie?'</span><span class="pl-kos">;</span> <span class="pl-en">safePath</span><span class="pl-s">`/cats/<span class="pl-s1"><span class="pl-kos">${</span> <span class="pl-s1">id</span> <span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; /cats/spottie%3F</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-string-prototype-codepoints"><code>String.prototype.codePoints</code></a><a href="#index">⬆</a> </h5><a id="user-content-stringprototypecodepoints" class="anchor" aria-label="Permalink: String.prototype.codePoints⬆" href="#stringprototypecodepoints"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.string.code-points.js"><code>esnext.string.code-points</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">String</span> <span class="pl-kos">{</span> <span class="pl-en">codePoints</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">{</span> <span class="pl-s1">codePoint</span><span class="pl-kos">,</span> <span class="pl-s1">position</span> <span class="pl-kos">}</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">code</span><span class="pl-c1">-</span><span class="pl-s1">points</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">string</span><span class="pl-c1">/</span><span class="pl-s1">code</span><span class="pl-c1">-</span><span class="pl-s1">points</span></pre></div> <p><a href="https://goo.gl/Jt7SsD" rel="nofollow"><em>Example</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">{</span> codePoint<span class="pl-kos">,</span> position <span class="pl-kos">}</span> <span class="pl-k">of</span> <span class="pl-s">'qwe'</span><span class="pl-kos">.</span><span class="pl-en">codePoints</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">codePoint</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 113, 119, 101</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">position</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 0, 1, 2</span> <span class="pl-kos">}</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-pattern-matching"><code>Symbol.customMatcher</code> for pattern matching</a><a href="#index">⬆</a> </h5><a id="user-content-symbolcustommatcher-for-pattern-matching" class="anchor" aria-label="Permalink: Symbol.customMatcher for pattern matching⬆" href="#symbolcustommatcher-for-pattern-matching"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.custom-matcher.js"><code>esnext.symbol.custom-matcher</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">customMatcher</span>: @@<span class="pl-s1">customMatcher</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">pattern</span><span class="pl-c1">-</span><span class="pl-s1">matching</span><span class="pl-c1">-</span><span class="pl-s1">v2</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">/</span><span class="pl-s1">custom</span><span class="pl-c1">-</span><span class="pl-s1">matcher</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/tc39/proposal-extractors"><code>Symbol.customMatcher</code> for extractors</a><a href="#index">⬆</a> </h5><a id="user-content-symbolcustommatcher-for-extractors" class="anchor" aria-label="Permalink: Symbol.customMatcher for extractors⬆" href="#symbolcustommatcher-for-extractors"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.symbol.custom-matcher.js"><code>esnext.symbol.custom-matcher</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Symbol</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">customMatcher</span>: @@<span class="pl-s1">customMatcher</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">pattern</span><span class="pl-c1">-</span><span class="pl-s1">extractors</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">symbol</span><span class="pl-c1">/</span><span class="pl-s1">custom</span><span class="pl-c1">-</span><span class="pl-s1">matcher</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Stage 0 proposals<a href="#index">⬆</a> </h4><a id="user-content-stage-0-proposals" class="anchor" aria-label="Permalink: Stage 0 proposals⬆" href="#stage-0-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stage</span><span class="pl-c1">/</span><span class="pl-c1">0</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/js-choi/proposal-function-demethodize"><code>Function.prototype.demethodize</code></a><a href="#index">⬆</a> </h5><a id="user-content-functionprototypedemethodize" class="anchor" aria-label="Permalink: Function.prototype.demethodize⬆" href="#functionprototypedemethodize"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.function.demethodize.js"><code>esnext.function.demethodize</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Function</span> <span class="pl-kos">{</span> <span class="pl-c1">demethodize</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Function</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <pre><code>core-js/proposals/function-demethodize core-js(-pure)/full/function/demethodize core-js(-pure)/full/function/virtual/demethodize </code></pre> <p><a href="https://tinyurl.com/2ltmohgl" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">slice</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">slice</span><span class="pl-kos">.</span><span class="pl-en">demethodize</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">slice</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [2, 3]</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md"><code>Function.{ isCallable, isConstructor }</code></a><a href="#index">⬆</a> </h5><a id="user-content-function-iscallable-isconstructor-" class="anchor" aria-label="Permalink: Function.{ isCallable, isConstructor }⬆" href="#function-iscallable-isconstructor-"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.function.is-callable.js"><code>esnext.function.is-callable</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.function.is-constructor.js"><code>esnext.function.is-constructor</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">Function</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">isCallable</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">isConstructor</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-k">function</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">callable</span><span class="pl-c1">-</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">constructor</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-k">function</span><span class="pl-c1">/</span>is-callable <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-k">function</span><span class="pl-c1">/</span>is-constructor</pre></div> <p><a href="https://is.gd/Kof1he" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isCallable</span><span class="pl-kos">(</span><span class="pl-c1">null</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isCallable</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isCallable</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isCallable</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isCallable</span><span class="pl-kos">(</span><span class="pl-k">class</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isConstructor</span><span class="pl-kos">(</span><span class="pl-c1">null</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isConstructor</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isConstructor</span><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isConstructor</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-v">Function</span><span class="pl-kos">.</span><span class="pl-en">isConstructor</span><span class="pl-kos">(</span><span class="pl-k">class</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Pre-stage 0 proposals<a href="#index">⬆</a> </h4><a id="user-content-pre-stage-0-proposals" class="anchor" aria-label="Permalink: Pre-stage 0 proposals⬆" href="#pre-stage-0-proposals"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stage</span><span class="pl-c1">/</span><span class="pl-s1">pre</span></pre></div> <div class="markdown-heading"><h5 class="heading-element"> <a href="https://github.com/rbuckton/reflect-metadata"><code>Reflect</code> metadata</a><a href="#index">⬆</a> </h5><a id="user-content-reflect-metadata" class="anchor" aria-label="Permalink: Reflect metadata⬆" href="#reflect-metadata"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.define-metadata.js"><code>esnext.reflect.define-metadata</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.delete-metadata.js"><code>esnext.reflect.delete-metadata</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.get-metadata.js"><code>esnext.reflect.get-metadata</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.get-metadata-keys.js"><code>esnext.reflect.get-metadata-keys</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.get-own-metadata.js"><code>esnext.reflect.get-own-metadata</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.get-own-metadata-keys.js"><code>esnext.reflect.get-own-metadata-keys</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.has-metadata.js"><code>esnext.reflect.has-metadata</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.has-own-metadata.js"><code>esnext.reflect.has-own-metadata</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/esnext.reflect.metadata.js"><code>esnext.reflect.metadata</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">namespace</span> <span class="pl-v">Reflect</span> <span class="pl-kos">{</span> <span class="pl-c1">defineMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">metadataValue</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-c1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-c1">propertyKey</span>?: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-en">getMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos"></span><span class="pl-kos">;</span> <span class="pl-en">getOwnMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span> <span class="pl-en">hasMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">hasOwnMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">deleteMetadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-en">getMetadataKeys</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">getOwnMetadataKeys</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">propertyKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">metadata</span><span class="pl-kos">(</span><span class="pl-s1">metadataKey</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">metadataValue</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-en">decorator</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-v">Object</span><span class="pl-kos">,</span> <span class="pl-s1">targetKey</span>?<span class="pl-s1"></span>: <span class="pl-v">PropertyKey</span><span class="pl-kos">)</span> <span class="pl-c1">=</span><span class="pl-c1">&gt;</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">define</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-k">delete</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span><span class="pl-c1">-</span><span class="pl-s1">keys</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">own</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">own</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span><span class="pl-c1">-</span><span class="pl-s1">keys</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">has</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">has</span><span class="pl-c1">-</span><span class="pl-s1">own</span><span class="pl-c1">-</span><span class="pl-s1">metadata</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">reflect</span><span class="pl-c1">/</span><span class="pl-s1">metadata</span></pre></div> <p><a href="https://goo.gl/KCo3PS" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">let</span> <span class="pl-s1">object</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">defineMetadata</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-s">'bar'</span><span class="pl-kos">,</span> <span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">ownKeys</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; []</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">getOwnMetadataKeys</span><span class="pl-kos">(</span><span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; ['foo']</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">getOwnMetadata</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-s1">object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'bar'</span></pre></div> <div class="markdown-heading"><h3 class="heading-element">Web standards<a href="#index">⬆</a> </h3><a id="user-content-web-standards" class="anchor" aria-label="Permalink: Web standards⬆" href="#web-standards"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="markdown-heading"><h4 class="heading-element"> <code>self</code><a href="#index">⬆</a> </h4><a id="user-content-self" class="anchor" aria-label="Permalink: self⬆" href="#self"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://html.spec.whatwg.org/multipage/window-object.html#dom-self" rel="nofollow">Spec</a>, module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.self.js"><code>web.self</code></a></p> <div class="highlight highlight-source-js"><pre>getter <span class="pl-s1">self</span>: <span class="pl-v">GlobalThisValue</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">self</span></pre></div> <p><a href="https://tinyurl.com/27nghouh" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-c1">Array</span> <span class="pl-c1">===</span> <span class="pl-v">Array</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>structuredClone</code><a href="#index">⬆</a> </h4><a id="user-content-structuredclone" class="anchor" aria-label="Permalink: structuredClone⬆" href="#structuredclone"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone" rel="nofollow">Spec</a>, module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.structured-clone.js"><code>web.structured-clone</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">structuredClone</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-v">Serializable</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">transfer</span>?: <span class="pl-v">Sequence</span><span class="pl-c1">&lt;</span><span class="pl-v">Transferable</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span>: <span class="pl-s1">any</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">structured</span><span class="pl-c1">-</span><span class="pl-s1">clone</span></pre></div> <p><a href="https://is.gd/RhK7TW" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">structured</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">{</span> <span class="pl-c1">a</span>: <span class="pl-c1">42</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">sclone</span> <span class="pl-c1">=</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-s1">structured</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">sclone</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [{ a: 42 }]</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">structured</span> <span class="pl-c1">!==</span> <span class="pl-s1">sclone</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">structured</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span> <span class="pl-c1">!==</span> <span class="pl-s1">sclone</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-k">const</span> <span class="pl-s1">circular</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">circular</span><span class="pl-kos">.</span><span class="pl-c1">circular</span> <span class="pl-c1">=</span> <span class="pl-s1">circular</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">cclone</span> <span class="pl-c1">=</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-s1">circular</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">cclone</span><span class="pl-kos">.</span><span class="pl-c1">circular</span> <span class="pl-c1">===</span> <span class="pl-s1">cclone</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 42</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-c1">42</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; { x: 42 }</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; [1, 2, 3]</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Set</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Set{ 1, 2, 3 }</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Map</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-kos">[</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s">'b'</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Map{ a: 1, b: 2 }</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Int8Array</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new Int8Array([1, 2, 3])</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">AggregateError</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s">'message'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new AggregateError([1, 2, 3], 'message'))</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">TypeError</span><span class="pl-kos">(</span><span class="pl-s">'message'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">cause</span>: <span class="pl-c1">42</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new TypeError('message', { cause: 42 })</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">DOMException</span><span class="pl-kos">(</span><span class="pl-s">'message'</span><span class="pl-kos">,</span> <span class="pl-s">'DataCloneError'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new DOMException('message', 'DataCloneError')</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">'myfileinput'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new FileList</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">DOMPoint</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new DOMPoint(1, 2, 3, 4)</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">Blob</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'test'</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new Blob(['test'])</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">ImageData</span><span class="pl-kos">(</span><span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">8</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; new ImageData(8, 8)</span> <span class="pl-c">// etc.</span> <span class="pl-en">structuredClone</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-v">WeakMap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; DataCloneError on non-serializable types</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Caveats when using <code>structuredClone</code> polyfill:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-structuredclone-polyfill" class="anchor" aria-label="Permalink: Caveats when using structuredClone polyfill:⬆" href="#caveats-when-using-structuredclone-polyfill"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>Many platform types cannot be transferred in most engines since we have no way to polyfill this behavior, however <code>.transfer</code> option works for some platform types. I recommend avoiding this option.</li> <li>Some specific platform types can't be cloned in old engines. Mainly it's very specific types or very old engines, but here are some exceptions. For example, we have no sync way to clone <code>ImageBitmap</code> in Safari 14.0- or Firefox 83-, so it's recommended to look to the <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.structured-clone.js">polyfill source</a> if you wanna clone something specific.</li> </ul> <div class="markdown-heading"><h4 class="heading-element">Base64 utility methods<a href="#index">⬆</a> </h4><a id="user-content-base64-utility-methods" class="anchor" aria-label="Permalink: Base64 utility methods⬆" href="#base64-utility-methods"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://html.spec.whatwg.org/multipage/webappapis.html#atob" rel="nofollow">Specification</a>, <a href="https://developer.mozilla.org/en-US/docs/Glossary/Base64" rel="nofollow">MDN</a>. Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.atob.js"><code>web.atob</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.btoa.js"><code>web.btoa</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">atob</span><span class="pl-kos">(</span><span class="pl-s1">data</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">btoa</span><span class="pl-kos">(</span><span class="pl-s1">data</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">atob</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">btoa</span></pre></div> <p><a href="https://is.gd/4Nxmzn" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-en">btoa</span><span class="pl-kos">(</span><span class="pl-s">'hi, core-js'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'aGksIGNvcmUtanM='</span> <span class="pl-en">atob</span><span class="pl-kos">(</span><span class="pl-s">'aGksIGNvcmUtanM='</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'hi, core-js'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>setTimeout</code> and <code>setInterval</code><a href="#index">⬆</a> </h4><a id="user-content-settimeout-and-setinterval" class="anchor" aria-label="Permalink: setTimeout and setInterval⬆" href="#settimeout-and-setinterval"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.timers.js"><code>web.timers</code></a>. Additional arguments fix for IE9-.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">callback</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">time</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> ...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">setInterval</span><span class="pl-kos">(</span><span class="pl-s1">callback</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">time</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> ...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">timeout</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">interval</span></pre></div> <div class="highlight highlight-source-js"><pre><span class="pl-c">// Before:</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">log</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">1000</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// After:</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-s1">log</span><span class="pl-kos">,</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span> <span class="pl-c1">42</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>setImmediate</code><a href="#index">⬆</a> </h4><a id="user-content-setimmediate" class="anchor" aria-label="Permalink: setImmediate⬆" href="#setimmediate"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.immediate.js"><code>web.immediate</code></a>. <a href="https://w3c.github.io/setImmediate/" rel="nofollow"><code>setImmediate</code></a> polyfill.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">setImmediate</span><span class="pl-kos">(</span><span class="pl-s1">callback</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> ...<span class="pl-s1">args</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">mixed</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">clearImmediate</span><span class="pl-kos">(</span><span class="pl-s1">id</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">set</span><span class="pl-c1">-</span><span class="pl-s1">immediate</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">clear</span><span class="pl-c1">-</span><span class="pl-s1">immediate</span></pre></div> <p><a href="https://goo.gl/6nXGrx" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-en">setImmediate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg2</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; Message will be displayed with minimum delay</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s">'Message will be displayed'</span><span class="pl-kos">,</span> <span class="pl-s">'with minimum delay'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">clearImmediate</span><span class="pl-kos">(</span><span class="pl-en">setImmediate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Message will not be displayed'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>queueMicrotask</code><a href="#index">⬆</a> </h4><a id="user-content-queuemicrotask" class="anchor" aria-label="Permalink: queueMicrotask⬆" href="#queuemicrotask"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask" rel="nofollow">Spec</a>, module <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.queue-microtask.js"><code>web.queue-microtask</code></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">queueMicrotask</span><span class="pl-kos">(</span><span class="pl-s1">fn</span>: <span class="pl-v">Function</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">queue</span><span class="pl-c1">-</span><span class="pl-s1">microtask</span></pre></div> <p><a href="https://goo.gl/nsW8P9" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-en">queueMicrotask</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'called as microtask'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h4 class="heading-element"> <code>URL</code> and <code>URLSearchParams</code><a href="#index">⬆</a> </h4><a id="user-content-url-and-urlsearchparams" class="anchor" aria-label="Permalink: URL and URLSearchParams⬆" href="#url-and-urlsearchparams"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://url.spec.whatwg.org/" rel="nofollow"><code>URL</code> standard</a> implementation. Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url.js"><code>web.url</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url.can-parse.js"><code>web.url.can-parse</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url.parse.js"><code>web.url.parse</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url.to-json.js"><code>web.url.to-json</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url-search-params.js"><code>web.url-search-params</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url-search-params.delete.js"><code>web.url-search-params.delete</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url-search-params.has.js"><code>web.url-search-params.has</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.url-search-params.size.js"><code>web.url-search-params.size</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-c1">URL</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">url</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">base</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">href</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">origin</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">protocol</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">username</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">password</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">host</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">hostname</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">port</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">pathname</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">search</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">searchParams</span>: <span class="pl-c1">URLSearchParams</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">hash</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toJSON</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">canParse</span><span class="pl-kos">(</span><span class="pl-s1">url</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">base</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">static</span> <span class="pl-c1">parse</span><span class="pl-kos">(</span><span class="pl-s1">url</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">base</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">URL</span> <span class="pl-c1">|</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">URLSearchParams</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">params</span>?: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-v">Iterable</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span> <span class="pl-c1">|</span> <span class="pl-v">Object</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">append</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">delete</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">get</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">getAll</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-v">Array</span><span class="pl-c1">&lt;</span><span class="pl-s1">string</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">has</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-c1">boolean</span><span class="pl-kos">;</span> <span class="pl-c1">set</span><span class="pl-kos">(</span><span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">value</span>: <span class="pl-s1">string</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">sort</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">forEach</span><span class="pl-kos">(</span><span class="pl-s1">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-c1">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">key</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-c1">size</span>: <span class="pl-c1">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">proposals</span><span class="pl-c1">/</span><span class="pl-s1">url</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">url</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">url</span><span class="pl-c1">/</span><span class="pl-s1">can</span><span class="pl-c1">-</span><span class="pl-s1">parse</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">url</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">json</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">url</span><span class="pl-c1">-</span><span class="pl-s1">search</span><span class="pl-c1">-</span><span class="pl-s1">params</span></pre></div> <p><a href="https://tinyurl.com/2yz45vol" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c1">URL</span><span class="pl-kos">.</span><span class="pl-en">canParse</span><span class="pl-kos">(</span><span class="pl-s">'https://login:password@example.com:8080/?a=1&amp;b=2&amp;a=3&amp;c=4#fragment'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-c1">URL</span><span class="pl-kos">.</span><span class="pl-en">canParse</span><span class="pl-kos">(</span><span class="pl-s">'https'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-c1">URL</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s">'https://login:password@example.com:8080/?a=1&amp;b=2&amp;a=3&amp;c=4#fragment'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; url</span> <span class="pl-c1">URL</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s">'https'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; null</span> <span class="pl-k">const</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">URL</span><span class="pl-kos">(</span><span class="pl-s">'https://login:password@example.com:8080/foo/bar?a=1&amp;b=2&amp;a=3#fragment'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">href</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https://login:password@example.com:8080/foo/bar?a=1&amp;b=2&amp;a=3#fragment'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">origin</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https://example.com:8080'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">protocol</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https:'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">username</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'login'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">password</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'password'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">host</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'example.com:8080'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">hostname</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'example.com'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">port</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '8080'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">pathname</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '/foo/bar'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">search</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '?a=1&amp;b=2&amp;a=3'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">hash</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '#fragment'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">toJSON</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https://login:password@example.com:8080/foo/bar?a=1&amp;b=2&amp;a=3#fragment'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https://login:password@example.com:8080/foo/bar?a=1&amp;b=2&amp;a=3#fragment'</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">searchParams</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'b', 'a'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '1', '2', '3'</span> <span class="pl-kos">}</span> <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">pathname</span> <span class="pl-c1">=</span> <span class="pl-s">''</span><span class="pl-kos">;</span> <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">searchParams</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">'c'</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">search</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '?a=1&amp;b=2&amp;a=3&amp;c=4'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">href</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'https://login:password@example.com:8080/?a=1&amp;b=2&amp;a=3&amp;c=4#fragment'</span> <span class="pl-k">const</span> <span class="pl-s1">params</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">URLSearchParams</span><span class="pl-kos">(</span><span class="pl-s">'?a=1&amp;b=2&amp;a=3'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">'c'</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">delete</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">sort</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-c1">size</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 4</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-s1">params</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a', 'a', 'b', 'c'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '3', '2', '2', '4'</span> <span class="pl-kos">}</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">has</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; false</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">params</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'a=3&amp;a=2&amp;b=2&amp;c=4'</span></pre></div> <div class="markdown-heading"><h5 class="heading-element">Caveats when using <code>URL</code> and <code>URLSearchParams</code>:<a href="#index">⬆</a> </h5><a id="user-content-caveats-when-using-url-and-urlsearchparams" class="anchor" aria-label="Permalink: Caveats when using URL and URLSearchParams:⬆" href="#caveats-when-using-url-and-urlsearchparams"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>IE8 does not support setters, so they do not work on <code>URL</code> instances. However, <code>URL</code> constructor can be used for basic <code>URL</code> parsing.</li> <li>Legacy encodings in a search query are not supported. Also, <code>core-js</code> implementation has some other encoding-related issues.</li> <li> <code>URL</code> implementations from all of the popular browsers have much more problems than <code>core-js</code>, however, replacing all of them does not looks like a good idea. You can customize the aggressiveness of polyfill <a href="#configurable-level-of-aggressiveness">by your requirements</a>.</li> </ul> <div class="markdown-heading"><h5 class="heading-element"> <code>DOMException</code>:<a href="#index">⬆</a> </h5><a id="user-content-domexception" class="anchor" aria-label="Permalink: DOMException:⬆" href="#domexception"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://webidl.spec.whatwg.org/#idl-DOMException" rel="nofollow">The specification.</a> Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.dom-exception.constructor.js"><code>web.dom-exception.constructor</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.dom-exception.stack.js"><code>web.dom-exception.stack</code></a>, <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.dom-exception.to-string-tag.js"><code>web.dom-exception.to-string-tag</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-v">DOMException</span> <span class="pl-kos">{</span> <span class="pl-c1">constructor</span><span class="pl-kos">(</span><span class="pl-s1">message</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-s1">name</span>?: <span class="pl-s1">string</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">name</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">message</span>: <span class="pl-c1">string</span><span class="pl-kos">;</span> <span class="pl-c1">readonly</span> <span class="pl-s1">attribute</span> <span class="pl-s1">code</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c1">attribute</span> <span class="pl-s1">stack</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span> <span class="pl-c">// in engines that should have it</span> @@<span class="pl-s1">toStringTag</span>: <span class="pl-s">'DOMException'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dom</span><span class="pl-c1">-</span><span class="pl-s1">exception</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dom</span><span class="pl-c1">-</span><span class="pl-s1">exception</span><span class="pl-c1">/</span><span class="pl-s1">constructor</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dom</span><span class="pl-c1">-</span><span class="pl-s1">exception</span><span class="pl-c1">/</span><span class="pl-s1">to</span><span class="pl-c1">-</span><span class="pl-s1">string</span><span class="pl-c1">-</span><span class="pl-s1">tag</span></pre></div> <p><a href="https://is.gd/pI6oTN" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">const</span> <span class="pl-s1">exception</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">DOMException</span><span class="pl-kos">(</span><span class="pl-s">'error'</span><span class="pl-kos">,</span> <span class="pl-s">'DataCloneError'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'DataCloneError'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span><span class="pl-kos">.</span><span class="pl-c1">message</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'error'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span><span class="pl-kos">.</span><span class="pl-c1">code</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 25</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">exception</span><span class="pl-kos">.</span><span class="pl-c1">stack</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'string'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span> <span class="pl-k">instanceof</span> <span class="pl-v">DOMException</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span> <span class="pl-k">instanceof</span> <span class="pl-v">Error</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; true</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">exception</span><span class="pl-kos">.</span><span class="pl-en">toString</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; 'DataCloneError: error'</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">toString</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-s1">exception</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// =&gt; '[object DOMException]'</span></pre></div> <div class="markdown-heading"><h4 class="heading-element">Iterable DOM collections<a href="#index">⬆</a> </h4><a id="user-content-iterable-dom-collections" class="anchor" aria-label="Permalink: Iterable DOM collections⬆" href="#iterable-dom-collections"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Some DOM collections should have <a href="https://heycam.github.io/webidl/#idl-iterable" rel="nofollow">iterable interface</a> or should be <a href="https://heycam.github.io/webidl/#LegacyArrayClass" rel="nofollow">inherited from <code>Array</code></a>. That means they should have <code>forEach</code>, <code>keys</code>, <code>values</code>, <code>entries</code> and <code>@@iterator</code> methods for iteration. So add them. Modules <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.dom-collections.iterator.js"><code>web.dom-collections.iterator</code></a> and <a href="https://github.com/devtea2025/turbo-rotary-phone/blob/master/packages/core-js/modules/web.dom-collections.for-each.js"><code>web.dom-collections.for-each</code></a>.</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">class</span> <span class="pl-kos">[</span> <span class="pl-v">CSSRuleList</span><span class="pl-kos">,</span> <span class="pl-v">CSSStyleDeclaration</span><span class="pl-kos">,</span> <span class="pl-v">CSSValueList</span><span class="pl-kos">,</span> <span class="pl-v">ClientRectList</span><span class="pl-kos">,</span> <span class="pl-v">DOMRectList</span><span class="pl-kos">,</span> <span class="pl-v">DOMStringList</span><span class="pl-kos">,</span> <span class="pl-v">DataTransferItemList</span><span class="pl-kos">,</span> <span class="pl-v">FileList</span><span class="pl-kos">,</span> <span class="pl-v">HTMLAllCollection</span><span class="pl-kos">,</span> <span class="pl-v">HTMLCollection</span><span class="pl-kos">,</span> <span class="pl-v">HTMLFormElement</span><span class="pl-kos">,</span> <span class="pl-v">HTMLSelectElement</span><span class="pl-kos">,</span> <span class="pl-v">MediaList</span><span class="pl-kos">,</span> <span class="pl-v">MimeTypeArray</span><span class="pl-kos">,</span> <span class="pl-v">NamedNodeMap</span><span class="pl-kos">,</span> <span class="pl-v">PaintRequestList</span><span class="pl-kos">,</span> <span class="pl-v">Plugin</span><span class="pl-kos">,</span> <span class="pl-v">PluginArray</span><span class="pl-kos">,</span> <span class="pl-v">SVGLengthList</span><span class="pl-kos">,</span> <span class="pl-v">SVGNumberList</span><span class="pl-kos">,</span> <span class="pl-v">SVGPathSegList</span><span class="pl-kos">,</span> <span class="pl-v">SVGPointList</span><span class="pl-kos">,</span> <span class="pl-v">SVGStringList</span><span class="pl-kos">,</span> <span class="pl-v">SVGTransformList</span><span class="pl-kos">,</span> <span class="pl-v">SourceBufferList</span><span class="pl-kos">,</span> <span class="pl-v">StyleSheetList</span><span class="pl-kos">,</span> <span class="pl-v">TextTrackCueList</span><span class="pl-kos">,</span> <span class="pl-v">TextTrackList</span><span class="pl-kos">,</span> <span class="pl-v">TouchList</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos"></span> <span class="pl-kos">{</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-c1">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-ent">value</span><span class="pl-c1">&gt;</span>; <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-kos">[</span><span class="pl-v">DOMTokenList</span><span class="pl-kos">,</span> <span class="pl-v">NodeList</span><span class="pl-kos">]</span> <span class="pl-kos">{</span> <span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-en">callbackfn</span>: <span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">,</span> <span class="pl-s1">index</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span> <span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-c1">=</span><span class="pl-c1">&gt;</span> <span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-s1">thisArg</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-k">void</span><span class="pl-kos">;</span> <span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">,</span> <span class="pl-s1">value</span><span class="pl-kos">]</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">key</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-en">values</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> @@<span class="pl-en">iterator</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-v">Iterator</span><span class="pl-c1">&lt;</span><span class="pl-s1">value</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre><span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-en">js</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-s1">pure</span><span class="pl-kos">)</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dom</span><span class="pl-c1">-</span><span class="pl-s1">collections</span><span class="pl-c1">/</span><span class="pl-s1">iterator</span> <span class="pl-s1">core</span><span class="pl-c1">-</span><span class="pl-s1">js</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">dom</span><span class="pl-c1">-</span><span class="pl-s1">collections</span><span class="pl-c1">/</span><span class="pl-s1">for</span><span class="pl-c1">-</span><span class="pl-s1">each</span></pre></div> <p><a href="https://goo.gl/lfXVFl" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">{</span> id <span class="pl-kos">}</span> <span class="pl-k">of</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelectorAll</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-kos">[</span><span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> id <span class="pl-kos">}</span><span class="pl-kos">]</span> <span class="pl-k">of</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelectorAll</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">entries</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">index</span><span class="pl-kos">,</span> <span class="pl-s1">id</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">querySelectorAll</span><span class="pl-kos">(</span><span class="pl-s">'*'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">forEach</span><span class="pl-kos">(</span><span class="pl-s1">it</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">it</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <div class="markdown-heading"><h3 class="heading-element">Iteration helpers<a href="#index">⬆</a> </h3><a id="user-content-iteration-helpers" class="anchor" aria-label="Permalink: Iteration helpers⬆" href="#iteration-helpers"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Helpers for check iterability / get iterator in the <code>pure</code> version or, for example, for <code>arguments</code> object:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">function</span> <span class="pl-s1">isIterable</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">getIterator</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Object</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-s1">getIteratorMethod</span><span class="pl-kos">(</span><span class="pl-s1">value</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span>: <span class="pl-v">Function</span> <span class="pl-c1">|</span> <span class="pl-k">void</span><span class="pl-kos">;</span></pre></div> <p><a href="#commonjs-api"><em>CommonJS entry points:</em></a></p> <div class="highlight highlight-source-js"><pre>@<span class="pl-s1">devtea2025</span><span class="pl-pds"><span class="pl-c1">/</span>turbo-rotary-phone<span class="pl-c1">/</span>es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">is</span><span class="pl-c1">-</span><span class="pl-s1">iterable</span> @<span class="pl-s1">devtea2025</span><span class="pl-pds"><span class="pl-c1">/</span>turbo-rotary-phone<span class="pl-c1">/</span>es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span> @<span class="pl-s1">devtea2025</span><span class="pl-pds"><span class="pl-c1">/</span>turbo-rotary-phone<span class="pl-c1">/</span>es</span><span class="pl-c1">|</span><span class="pl-s1">stable</span><span class="pl-c1">|</span><span class="pl-s1">actual</span><span class="pl-c1">|</span><span class="pl-s1">full</span><span class="pl-c1">/</span><span class="pl-s1">get</span><span class="pl-c1">-</span><span class="pl-s1">iterator</span><span class="pl-c1">-</span><span class="pl-s1">method</span></pre></div> <p><a href="https://goo.gl/SXsM6D" rel="nofollow"><em>Examples</em></a>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-s1">isIterable</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/is-iterable'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">getIterator</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/get-iterator'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">getIteratorMethod</span> <span class="pl-k">from</span> <span class="pl-s">'@devtea2025/turbo-rotary-phone/actual/get-iterator-method'</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">list</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">arguments</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">isIterable</span><span class="pl-kos">(</span><span class="pl-s1">list</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// true;</span> <span class="pl-k">let</span> <span class="pl-s1">iterator</span> <span class="pl-c1">=</span> <span class="pl-en">getIterator</span><span class="pl-kos">(</span><span class="pl-s1">list</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 1</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 2</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 3</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// undefined</span> <span class="pl-en">getIterator</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// TypeError: [object Object] is not iterable!</span> <span class="pl-k">let</span> <span class="pl-s1">method</span> <span class="pl-c1">=</span> <span class="pl-en">getIteratorMethod</span><span class="pl-kos">(</span><span class="pl-s1">list</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">method</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 'function'</span> <span class="pl-k">let</span> <span class="pl-s1">iterator</span> <span class="pl-c1">=</span> <span class="pl-s1">method</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-s1">list</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 1</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 2</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// 3</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">iterator</span><span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// undefined</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">getIteratorMethod</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// undefined</span></pre></div> <div class="markdown-heading"><h2 class="heading-element">Missing polyfills<a href="#index">⬆</a> </h2><a id="user-content-missing-polyfills" class="anchor" aria-label="Permalink: Missing polyfills⬆" href="#missing-polyfills"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <ul> <li>ES <code>BigInt</code> can't be polyfilled since it requires changes in the behavior of operators, you could find more info <a href="https://github.com/devtea2025/turbo-rotary-phone/issues/381">here</a>. You could try to use <a href="https://github.com/GoogleChromeLabs/jsbi"><code>JSBI</code></a>.</li> <li>ES <code>Proxy</code> can't be polyfilled, you can try to use <a href="https://github.com/GoogleChrome/proxy-polyfill"><code>proxy-polyfill</code></a> which provides a very little subset of features.</li> <li>ES <code>String#normalize</code> is not a very useful feature, but this polyfill will be very large. If you need it, you can use <a href="https://github.com/walling/unorm/">unorm</a>.</li> <li>ECMA-402 <code>Intl</code> is missed because of the size. You can use <a href="https://formatjs.io/docs/polyfills" rel="nofollow">those polyfills</a>.</li> <li> <code>window.fetch</code> is not a cross-platform feature, in some environments, it makes no sense. For this reason, I don't think it should be in <code>core-js</code>. Looking at a large number of requests it <em>might be</em> added in the future. Now you can use, for example, <a href="https://github.com/github/fetch">this polyfill</a>.</li> </ul> </div></article></div><div class="pv4"><h2 class="c7520c26">Readme</h2><h3 id="user-content-keywords" class="a0dff0b1 mt2 pt2 mb3 pb3 f4 fw6 b--black-10">Keywords</h3><ul class="list pl0"><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:URL">URL</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:find">find</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:karma">karma</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:description">description</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:string">string</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fast-copy">fast-copy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ansi">ansi</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:shim">shim</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:getOwnPropertyDescriptor">getOwnPropertyDescriptor</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es-shim API">es-shim API</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2017">ECMAScript 2017</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:symbols">symbols</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:colour">colour</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:from">from</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Microsoft">Microsoft</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:view">view</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ast">ast</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2019">ES2019</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fast">fast</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sameValueZero">sameValueZero</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:RxJS">RxJS</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rm -fr">rm -fr</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tape">tape</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:npm">npm</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:reuse">reuse</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2022">ECMAScript 2022</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:windows">windows</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:emoji">emoji</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:operating-system">operating-system</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:every">every</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:pnpm9">pnpm9</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:deep">deep</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:l10n">l10n</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:mimetypes">mimetypes</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:toSorted">toSorted</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jasmine">jasmine</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:URLSearchParams">URLSearchParams</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typeof">typeof</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:call-bind">call-bind</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es2016">es2016</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:omit">omit</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:matchAll">matchAll</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:regexp">regexp</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:inference">inference</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:array">array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:spinner">spinner</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:exit">exit</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:reducer">reducer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:trimEnd">trimEnd</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:optimizer">optimizer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:hooks">hooks</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:superstruct">superstruct</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:module">module</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:syntaxerror">syntaxerror</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:browserslist">browserslist</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:open">open</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:writable">writable</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:findup">findup</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bundler">bundler</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:buffer">buffer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:take">take</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:encryption">encryption</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:require">require</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Object.keys">Object.keys</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:escape">escape</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:identifiers">identifiers</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:properties">properties</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:predictable">predictable</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:String.prototype.matchAll">String.prototype.matchAll</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:datastructure">datastructure</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:package.json">package.json</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:stylesheet">stylesheet</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:proxy">proxy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:error">error</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:WebSockets">WebSockets</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:command">command</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2019">ECMAScript 2019</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:helpers">helpers</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:extend">extend</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES3">ES3</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:syntax">syntax</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:own">own</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:joi">joi</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:runtime">runtime</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:react-hooks">react-hooks</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:glacier">glacier</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jshint">jshint</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:authentication">authentication</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:hasOwn">hasOwn</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es-shims">es-shims</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:wordbreak">wordbreak</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:parse">parse</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:shell">shell</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:prune">prune</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:setPrototypeOf">setPrototypeOf</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:characters">characters</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:indicator">indicator</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:is">is</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vpc">vpc</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:error-handling">error-handling</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:some">some</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:prototype">prototype</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typescript">typescript</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ecmascript">ecmascript</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:command-line">command-line</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:lockfile">lockfile</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:https">https</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:json">json</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:limit">limit</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:recursive">recursive</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fastify">fastify</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:streams">streams</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:styling">styling</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:qs">qs</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:byteLength">byteLength</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:postcss-plugin">postcss-plugin</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:trimLeft">trimLeft</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:idle">idle</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rm -rf">rm -rf</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ie">ie</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:apollo">apollo</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:css less">css less</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sigterm">sigterm</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:merge">merge</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:watching">watching</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:router">router</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:WeakMap">WeakMap</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:io-ts">io-ts</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:RegExp#flags">RegExp#flags</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:has">has</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:private">private</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:eslintconfig">eslintconfig</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:swf">swf</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:irq">irq</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bundling">bundling</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:concat">concat</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.findLast">Array.prototype.findLast</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:worker">worker</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:keys">keys</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dataView">dataView</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:deterministic">deterministic</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:coercible">coercible</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:JSON">JSON</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:flag">flag</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:eventDispatcher">eventDispatcher</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dom-testing-library">dom-testing-library</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:symlinks">symlinks</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:mapreduce">mapreduce</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ReactiveExtensions">ReactiveExtensions</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ArrayBuffer#slice">ArrayBuffer#slice</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:JSON-Schema">JSON-Schema</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tester">tester</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Int16Array">Int16Array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:which">which</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:status">status</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2015">ES2015</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sorted">sorted</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:assign">assign</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:equality">equality</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:watchFile">watchFile</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rds">rds</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:test">test</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:@@toStringTag">@@toStringTag</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:read">read</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:middleware">middleware</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fullwidth">fullwidth</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es2018">es2018</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typed array">typed array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:promises">promises</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:shrinkwrap">shrinkwrap</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Int32Array">Int32Array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:term">term</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:mime-db">mime-db</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:toArray">toArray</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:descriptor">descriptor</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:entries">entries</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:in">in</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:emit">emit</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:columns">columns</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:getPrototypeOf">getPrototypeOf</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:amazon">amazon</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:query">query</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:minimal">minimal</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:starter">starter</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typedarrays">typedarrays</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:BigUint64Array">BigUint64Array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:types">types</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:uninstall">uninstall</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:spinners">spinners</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:handlers">handlers</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:check">check</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:AsyncIterator">AsyncIterator</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:callbind">callbind</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:workspace:*">workspace:*</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:censor">censor</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:stateless">stateless</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jsx">jsx</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:debug">debug</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:classname">classname</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dir">dir</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:xhr">xhr</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Object.entries">Object.entries</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:interrupts">interrupts</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:resolve">resolve</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:http">http</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:circular">circular</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:format">format</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:look-up">look-up</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:args">args</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:classes">classes</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ec2">ec2</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bootstrap less">bootstrap less</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.includes">Array.prototype.includes</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:settings">settings</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Uint8Array">Uint8Array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:object">object</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Observables">Observables</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:linux">linux</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:walk">walk</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:uuid">uuid</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sequence">sequence</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:app">app</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:mru">mru</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:touch">touch</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:extra">extra</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:lint">lint</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fetch">fetch</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:signal">signal</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typanion">typanion</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.contains">Array.prototype.contains</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:column">column</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:deepclone">deepclone</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:patch">patch</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:directory">directory</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:i18n">i18n</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:WeakSet">WeakSet</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:globals">globals</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:core-js">core-js</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:form">form</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:debugger">debugger</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:folder">folder</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fsevents">fsevents</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:nope">nope</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jest">jest</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Symbol.toStringTag">Symbol.toStringTag</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:argument">argument</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:up">up</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:s3">s3</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:route53">route53</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:option">option</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:class-validator">class-validator</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:language">language</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bdd">bdd</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:autoscaling">autoscaling</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:0">0</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:regex">regex</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bcrypt">bcrypt</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:map">map</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.flat">Array.prototype.flat</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:css nesting">css nesting</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:core">core</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:colors">colors</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:256">256</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:get">get</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:utility">utility</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Promise">Promise</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fast-clone">fast-clone</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fastclone">fastclone</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:optimist">optimist</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:persistent">persistent</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:quote">quote</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:setImmediate">setImmediate</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:wrap">wrap</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bootstrap css">bootstrap css</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fast-deep-copy">fast-deep-copy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:elb">elb</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tty">tty</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:accessor">accessor</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2018">ES2018</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:file">file</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typesafe">typesafe</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:deep-copy">deep-copy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:east-asian-width">east-asian-width</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jwt">jwt</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:exit-code">exit-code</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:chromium">chromium</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:readablestream">readablestream</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Float32Array">Float32Array</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:type">type</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Rx">Rx</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vest">vest</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:serialization">serialization</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:functional">functional</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rfc4122">rfc4122</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:native">native</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2021">ES2021</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fs">fs</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2016">ECMAScript 2016</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:traverse">traverse</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2020">ECMAScript 2020</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:TypeScript">TypeScript</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:wait">wait</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:agent">agent</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:negative zero">negative zero</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:prop">prop</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rgb">rgb</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:console">console</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:obj">obj</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:matches">matches</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:pipe">pipe</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:enumerable">enumerable</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:client">client</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:beanstalk">beanstalk</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:toStringTag">toStringTag</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:shebang">shebang</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:less.js">less.js</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tdd">tdd</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:protobuf">protobuf</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:exec">exec</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:values">values</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:RFC-6455">RFC-6455</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:korean">korean</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:log">log</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:side">side</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:api">api</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:packages">packages</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:path">path</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:look">look</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tc39">tc39</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:redux">redux</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:has-own">has-own</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:importexport">importexport</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:cloudsearch">cloudsearch</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:react">react</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:node">node</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:serializer">serializer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Uint8ClampedArray">Uint8ClampedArray</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:style">style</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:descriptors">descriptors</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:replay">replay</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tap">tap</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:lazy">lazy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:moment">moment</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:yaml">yaml</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:iam">iam</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:call-bound">call-bound</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:tslib">tslib</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:flat">flat</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:readable">readable</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:move">move</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:hasOwnProperty">hasOwnProperty</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:symlink">symlink</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:less mixins">less mixins</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:loading">loading</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:config">config</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:pyyaml">pyyaml</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:cli">cli</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:crypto">crypto</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:time">time</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:compile less">compile less</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:trimRight">trimRight</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:deepcopy">deepcopy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:install">install</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:banner">banner</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:copy">copy</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:data">data</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.filter">Array.prototype.filter</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:CSS">CSS</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:byteOffset">byteOffset</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:setter">setter</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:findLast">findLast</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:text">text</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:plugin">plugin</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:hash">hash</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:typeerror">typeerror</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:intrinsic">intrinsic</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:TypeBox">TypeBox</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:formatting">formatting</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ECMAScript 2021">ECMAScript 2021</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:collection">collection</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dependency manager">dependency manager</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:browserlist">browserlist</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:terminal">terminal</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:warning">warning</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Array.prototype.flatten">Array.prototype.flatten</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sqs">sqs</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:channel">channel</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:defineProperty">defineProperty</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dom">dom</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:mime">mime</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:logger">logger</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:stream">stream</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:full-width">full-width</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:filter">filter</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:metadata">metadata</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:search">search</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:names">names</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:macos">macos</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:immer">immer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:random">random</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:aws">aws</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sham">sham</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:superagent">superagent</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es2015">es2015</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:curl">curl</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Stream">Stream</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ArrayBuffer.prototype.slice">ArrayBuffer.prototype.slice</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:installer">installer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es">es</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:functions">functions</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:variables">variables</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:slot">slot</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:postcss">postcss</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rangeerror">rangeerror</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:styles">styles</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dynamodb">dynamodb</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:gradients css3">gradients css3</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:rm">rm</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:create">create</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:define">define</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:concatMap">concatMap</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:asserts">asserts</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sigint">sigint</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:length">length</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:lru">lru</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:queue">queue</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:name">name</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:request">request</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:es8">es8</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:styleguide">styleguide</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:art">art</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2017">ES2017</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:performance">performance</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:valid">valid</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:match">match</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:url">url</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:emr">emr</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:modules">modules</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ArrayBuffer">ArrayBuffer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:autoprefixer">autoprefixer</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:events">events</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:eslint-plugin">eslint-plugin</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:arktype">arktype</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:state">state</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:javascript">javascript</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:japanese">japanese</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:accessibility">accessibility</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Object.defineProperty">Object.defineProperty</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES8">ES8</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:argparse">argparse</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:call">call</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:internal">internal</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:prefix">prefix</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:weakset">weakset</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:input">input</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2023">ES2023</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:findLastIndex">findLastIndex</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:task">task</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:clone">clone</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:a11y">a11y</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:multi-package">multi-package</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:web">web</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:sns">sns</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:write">write</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:limited">limited</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:dependencies">dependencies</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:progress">progress</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:jsonpath">jsonpath</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:throttle">throttle</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:assertion">assertion</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:fixed-width">fixed-width</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:set">set</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:trimStart">trimStart</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES7">ES7</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:auth">auth</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:real-time">real-time</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:concurrency">concurrency</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:hookform">hookform</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:getter">getter</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:serialize">serialize</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:buffers">buffers</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:cloudwatch">cloudwatch</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:regular expression">regular expression</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:iteration">iteration</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:redact">redact</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Symbol">Symbol</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:property">property</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:bound">bound</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:output">output</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ES2022">ES2022</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:getintrinsic">getintrinsic</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:ava">ava</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:elm">elm</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:Float64Array">Float64Array</a></li></ul></div></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-explore" aria-labelledby="package-tab-explore" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-admin" aria-labelledby="package-tab-admin" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-dependencies" aria-labelledby="package-tab-dependencies" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-dependents" aria-labelledby="package-tab-dependents" role="tabpanel" data-attribute="hidden"></section><div class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-versions" aria-labelledby="package-tab-versions" role="tabpanel" data-attribute="hidden"></div></span><span aria-live="polite"></span></div><div class="fdbf4038 w-third-l mt3 w-100 ph3 ph4-m pv3 pv0-l"><h2 class="c7520c26">Package Sidebar</h2><h3 class="c84e15be f5 mt2 pt2 mb0">Install</h3><div class="d767adf4 lh-copy truncate ph0 mb3 black-80 b5be2af6 f6 flex flex-row"><svg viewBox="0 0 12.32 9.33" aria-hidden="true"><g><line class="st1" x1="7.6" y1="8.9" x2="7.6" y2="6.9"></line><rect width="1.9" height="1.9"></rect><rect x="1.9" y="1.9" width="1.9" height="1.9"></rect><rect x="3.7" y="3.7" width="1.9" height="1.9"></rect><rect x="1.9" y="5.6" width="1.9" height="1.9"></rect><rect y="7.5" width="1.9" height="1.9"></rect></g></svg><p class="flex-auto truncate db ma0"><code>npm i <!-- -->@devtea2025/turbo-rotary-phone</code><button class="fbd04dd1" type="button" aria-label="Copy install command line"><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="copy" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z" fill="#808080"></path></svg></button></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 id="repository" class="c84e15be f5 mt2 pt2 mb0">Repository</h3><p class="_40aff104 fw6 mb3 mt2 truncate black-80 f5"><a aria-labelledby="repository repository-link" class="b2812e30 f2874b88 fw6 mb3 mt2 truncate black-80 f4 no-underline pr1" href="https://github.com/devtea2025/turbo-rotary-phone" target="_blank" rel="noopener noreferrer nofollow"><span class="_513426a8 dib v-mid"><svg width="16" height="16" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><title>Git</title><g fill="#0A0B09" fill-rule="nonzero"><path d="M15.6981994,7.28744895 L8.71251571,0.3018063 C8.3102891,-0.1006021 7.65784619,-0.1006021 7.25527133,0.3018063 L5.80464367,1.75263572 L7.64478689,3.59281398 C8.07243561,3.44828825 8.56276901,3.5452772 8.90352982,3.88604451 C9.24638012,4.22907547 9.34249661,4.72359725 9.19431703,5.15282127 L10.9679448,6.92630874 C11.3971607,6.77830046 11.8918472,6.8738964 12.2346975,7.21727561 C12.7135387,7.69595181 12.7135387,8.47203759 12.2346975,8.95106204 C11.755508,9.43026062 10.9796112,9.43026062 10.5002476,8.95106204 C10.140159,8.59061834 10.0510075,8.06127108 10.2336636,7.61759448 L8.57948492,5.9635584 L8.57948492,10.3160467 C8.69614805,10.3738569 8.80636859,10.4509954 8.90352982,10.5479843 C9.38237103,11.0268347 9.38237103,11.8027463 8.90352982,12.2822931 C8.42468862,12.7609693 7.64826937,12.7609693 7.16977641,12.2822931 C6.69093521,11.8027463 6.69093521,11.0268347 7.16977641,10.5479843 C7.28818078,10.4297518 7.42521643,10.3402504 7.57148065,10.2803505 L7.57148065,5.88746473 C7.42521643,5.82773904 7.28852903,5.73893407 7.16977641,5.62000506 C6.80707597,5.25747183 6.71983981,4.72499027 6.90597844,4.27957241 L5.09195384,2.465165 L0.301800552,7.25506126 C-0.100600184,7.65781791 -0.100600184,8.31027324 0.301800552,8.71268164 L7.28783254,15.6983243 C7.69005915,16.1005586 8.34232793,16.1005586 8.74507691,15.6983243 L15.6981994,8.74506934 C16.1006002,8.34266094 16.1006002,7.68968322 15.6981994,7.28744895" id="Path"></path></g></svg></span><span id="repository-link">github.com/devtea2025/turbo-rotary-phone</span></a></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 id="homePage" class="c84e15be f5 mt2 pt2 mb0">Homepage</h3><p class="_40aff104 fw6 mb3 mt2 truncate black-80 f5"><a aria-labelledby="homePage homePage-link" class="b2812e30 f2874b88 fw6 mb3 mt2 truncate black-80 f4 no-underline pr1" rel="noopener noreferrer nofollow" href="https://github.com/devtea2025/turbo-rotary-phone/#readme"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="link" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"></path></svg><span id="homePage-link">github.com/devtea2025/turbo-rotary-phone/#readme</span></a></p></div><div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100" role="button" tabindex="0" aria-label="Showing weekly downloads"><h3 class="c84e15be f5 mt2 pt2 mb0 _5cfc0900"><svg viewBox="0 0 7.22 11.76" aria-hidden="true"><title>Downloads</title><g><polygon points="4.59 4.94 4.59 0 2.62 0 2.62 4.94 0 4.94 3.28 9.53 7.22 4.94 4.59 4.94" aria-label="Downloads icon"></polygon><rect x="0.11" y="10.76" width="7" height="1"></rect></g></svg>Weekly Downloads</h3><div class="_000ae427 flex flex-row-reverse items-end"><svg class="_418c4939 flex-none" width="200" height="40" stroke-width="3" stroke="#8956FF" fill="rgba(137, 86, 255, .2)" aria-hidden="true"></svg><p class="_9ba9a726 f4 tl flex-auto fw6 black-80 ma0 pr2 pb1">8</p></div></div></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Version</h3><div class="abe380b3 flex flex-row items-center"><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">1.0.4</p></div></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">License</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">MIT</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Unpacked Size</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">203 kB</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Total Files</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">5</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 class="c84e15be f5 mt2 pt2 mb0">Last publish</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4"><time dateTime="2024-04-30T19:26:34.992Z" title="4/30/2024, 7:26:34 PM">7 months ago</time></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 bb-0 w-100"><h3 id="collaborators" class="c84e15be f5 mt2 pt2 mb0">Collaborators</h3><ul aria-labelledby="collaborators" class="list pl0 cf"><li class="_426b8533 fl dib mr2 mb2"><div><a href="/~tranvuchinh5538"><img src="/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.dQAGMX-uOcoU_8OkOV-fzbpsuB9z5RoOdWMAwEkjnwQ" style="width:42px;height:42px;min-width:42px;border-radius:4%" alt="tranvuchinh5538" title="tranvuchinh5538"/></a></div></li></ul></div><div class="w-100"><a class="c37751f6 _24a1e9c7 dab9924c br2 pv2 ph3 fw5 f5 tc button button-reset pointer ma2 truncate ml0 no-underline mt2 dib w-100" rel="noopener noreferrer nofollow" href="https://runkit.com/npm/%40devtea2025%2Fturbo-rotary-phone"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="terminal" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M257.981 272.971L63.638 467.314c-9.373 9.373-24.569 9.373-33.941 0L7.029 444.647c-9.357-9.357-9.375-24.522-.04-33.901L161.011 256 6.99 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L257.981 239.03c9.373 9.372 9.373 24.568 0 33.941zM640 456v-32c0-13.255-10.745-24-24-24H312c-13.255 0-24 10.745-24 24v32c0 13.255 10.745 24 24 24h304c13.255 0 24-10.745 24-24z"></path></svg><strong>Try</strong> on RunKit</a></div><div class="_33c89934 w-100"><a class="_4a3f8f21 _24a1e9c7 dab9924c br2 pv2 ph3 fw5 f5 tc button button-reset pointer ma2 truncate ml0 no-underline mt2 dib w-100" href="/support?inquire=security&amp;security-inquire=malware&amp;package=%40devtea2025%2Fturbo-rotary-phone&amp;version=1.0.4"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flag" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"></path></svg><strong>Report</strong> malware</a></div></div></div> </main><footer class="cd2827bb bt b--black-10 mt4"><h2 class="e13b5dae">Footer</h2><div id="footer" class="center mw9 pa3 flex flex-column flex-wrap-m flex-row-ns"><div class="flex-auto pa4-ns pa3 w-100 w-10-l"><div class="_802b5507 pt3"><a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/npm" aria-label="Visit npm GitHub page"><svg viewBox="0 0 27.23 27.23" aria-hidden="true"><rect fill="#333333" width="27.23" height="27.23" rx="2"></rect><polygon fill="#fff" points="5.8 21.75 13.66 21.75 13.67 9.98 17.59 9.98 17.58 21.76 21.51 21.76 21.52 6.06 5.82 6.04 5.8 21.75"></polygon></svg></a></div><div class="_802b5507 pt3"><a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com" aria-label="GitHub"><svg aria-hidden="true" focusable="false" class="" viewBox="0 0 24 24" width="50" height="50" fill="black" style="display:inline-block;user-select:none;vertical-align:top;overflow:visible"><path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path></svg></a></div></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="support" class="_1b8c0a9f">Support</h3><ul class="list pl0" aria-labelledby="support"><li class="pv1"><a class="df995acb no-underline pr1" href="https://docs.npmjs.com">Help</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="https://github.com/advisories">Advisories</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="http://status.npmjs.org/">Status</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/support">Contact npm</a></li></ul></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="company" class="_1b8c0a9f">Company</h3><ul class="list pl0" aria-labelledby="company"><li class="pv1"><a class="df995acb no-underline pr1" href="/about">About</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="https://github.blog/tag/npm/">Blog</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/press">Press</a></li></ul></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="terms" class="_1b8c0a9f">Terms &amp; Policies</h3><ul class="list pl0" aria-labelledby="terms"><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/">Policies</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/terms">Terms of Use</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/conduct">Code of Conduct</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/privacy">Privacy</a></li></ul></div></div></footer></div><div class="_8a62ca63 fixed top-0 left-0 z-999" style="opacity:0;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1)"></div></div></div><script integrity="sha512-kYzf5625X9KVQcXiWIVqR7u4tlPd5Q4XanV5mcZW5i4JjJT2qI+njIq4io21ESQdv1veDS0mq8/btBU7TmaRyw==">window.__context__ = {"context":{"notifications":[],"csrftoken":"GWONMimTu1aevLgmq5C62wm2NaCahnM1kaCsUyeAhiR","userEmailVerified":null,"isV3SearchEnabled":false,"auditLogEnabled":false,"user":null,"documentContext":{"readme.data":"readme"},"undefined":true,"readme":{"ref":"readme","data":null},"versionsDownloads":{"1.0.4":6,"1.0.3":1,"1.0.2":1},"starAction":"/package/%40devtea2025%2Fturbo-rotary-phone/star","scope":"devtea2025","provenance":{"enabled":false,"feedbackUrl":" https://github.com/npm/feedback"},"isSecurityPlaceholder":false,"private":false,"packument":{"author":{"name":"JamesMariarti","avatars":{}},"description":" ","homepage":"https://github.com/devtea2025/turbo-rotary-phone/#readme","repository":"https://github.com/devtea2025/turbo-rotary-phone","distTags":{"latest":"1.0.4"},"keywords":["URL","find","karma","description","string","fast-copy","ansi","shim","getOwnPropertyDescriptor","es-shim API","ECMAScript 2017","symbols","colour","from","Microsoft","view","ast","ES2019","fast","sameValueZero","RxJS","rm -fr","tape","npm","reuse","ECMAScript 2022","windows","emoji","operating-system","every","pnpm9","deep","l10n","mimetypes","toSorted","jasmine","URLSearchParams","typeof","call-bind","es2016","omit","matchAll","regexp","inference","array","spinner","exit","reducer","trimEnd","optimizer","hooks","superstruct","module","syntaxerror","browserslist","open","writable","findup","bundler","buffer","take","encryption","require","Object.keys","escape","identifiers","properties","predictable","String.prototype.matchAll","datastructure","package.json","stylesheet","proxy","error","WebSockets","command","ECMAScript 2019","helpers","extend","ES3","syntax","own","joi","runtime","react-hooks","glacier","jshint","authentication","hasOwn","es-shims","wordbreak","parse","shell","prune","setPrototypeOf","characters","indicator","is","vpc","error-handling","some","prototype","typescript","ecmascript","command-line","lockfile","https","json","limit","recursive","fastify","streams","styling","qs","byteLength","postcss-plugin","trimLeft","idle","rm -rf","ie","apollo","css less","sigterm","merge","watching","router","WeakMap","io-ts","RegExp#flags","has","private","eslintconfig","swf","irq","bundling","concat","Array.prototype.findLast","worker","keys","dataView","deterministic","coercible","JSON","flag","eventDispatcher","dom-testing-library","symlinks","mapreduce","ReactiveExtensions","ArrayBuffer#slice","JSON-Schema","tester","Int16Array","which","status","ES2015","sorted","assign","equality","watchFile","rds","test","@@toStringTag","read","middleware","fullwidth","es2018","typed array","promises","shrinkwrap","Int32Array","term","mime-db","toArray","descriptor","entries","in","emit","columns","getPrototypeOf","amazon","query","minimal","starter","typedarrays","BigUint64Array","types","uninstall","spinners","handlers","check","AsyncIterator","callbind","workspace:*","censor","stateless","jsx","debug","classname","dir","xhr","Object.entries","interrupts","resolve","http","circular","format","look-up","args","classes","ec2","bootstrap less","Array.prototype.includes","settings","Uint8Array","object","Observables","linux","walk","uuid","sequence","app","mru","touch","extra","lint","fetch","signal","typanion","Array.prototype.contains","column","deepclone","patch","directory","i18n","WeakSet","globals","core-js","form","debugger","folder","fsevents","nope","jest","Symbol.toStringTag","argument","up","s3","route53","option","class-validator","language","bdd","autoscaling","0","regex","bcrypt","map","Array.prototype.flat","css nesting","core","colors","256","get","utility","Promise","fast-clone","fastclone","optimist","persistent","quote","setImmediate","wrap","bootstrap css","fast-deep-copy","elb","tty","accessor","ES2018","file","typesafe","deep-copy","east-asian-width","jwt","exit-code","chromium","readablestream","Float32Array","type","Rx","vest","serialization","functional","rfc4122","native","ES2021","fs","ECMAScript 2016","traverse","ECMAScript 2020","TypeScript","wait","agent","negative zero","prop","rgb","console","obj","matches","pipe","enumerable","client","beanstalk","toStringTag","shebang","less.js","tdd","protobuf","exec","values","RFC-6455","korean","log","side","api","packages","path","look","tc39","redux","has-own","importexport","cloudsearch","react","node","serializer","Uint8ClampedArray","style","descriptors","replay","tap","lazy","moment","yaml","iam","call-bound","tslib","flat","readable","move","hasOwnProperty","symlink","less mixins","loading","config","pyyaml","cli","crypto","time","compile less","trimRight","deepcopy","install","banner","copy","data","Array.prototype.filter","CSS","byteOffset","setter","findLast","text","plugin","hash","typeerror","intrinsic","TypeBox","formatting","ECMAScript 2021","collection","dependency manager","browserlist","terminal","warning","Array.prototype.flatten","sqs","channel","defineProperty","dom","mime","logger","stream","full-width","filter","metadata","search","names","macos","immer","random","aws","sham","superagent","es2015","curl","Stream","ArrayBuffer.prototype.slice","installer","es","functions","variables","slot","postcss","rangeerror","styles","dynamodb","gradients css3","rm","create","define","concatMap","asserts","sigint","length","lru","queue","name","request","es8","styleguide","art","ES2017","performance","valid","match","url","emr","modules","ArrayBuffer","autoprefixer","events","eslint-plugin","arktype","state","javascript","japanese","accessibility","Object.defineProperty","ES8","argparse","call","internal","prefix","weakset","input","ES2023","findLastIndex","task","clone","a11y","multi-package","web","sns","write","limited","dependencies","progress","jsonpath","throttle","assertion","fixed-width","set","trimStart","ES7","auth","real-time","concurrency","hookform","getter","serialize","buffers","cloudwatch","regular expression","iteration","redact","Symbol","property","bound","output","ES2022","getintrinsic","ava","elm","Float64Array"],"maintainers":[{"name":"tranvuchinh5538","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.35X8pjFi9K4g-r-PUJsycAPwiR8M9swC0tNvhVl-RAI","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.dQAGMX-uOcoU_8OkOV-fzbpsuB9z5RoOdWMAwEkjnwQ","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.anu6OkxXuSvdGEXIcNKAK9xpeIbnRrHLYCmQzQerIDQ"}}],"name":"@devtea2025/turbo-rotary-phone","license":"MIT","version":"1.0.4","versions":[{"version":"1.0.4","date":{"ts":1714505194992,"rel":"7 months ago"},"dist":{"integrity":"sha512-YASewaWjp9xupi8rI4Wmu+XrVlb3EDvVj9diMxluO16nz7eeDBusKfdykM2ACUoWA11lbu2wJ2lhN6e1TEavyg==","shasum":"adee802d58e33b54d16aecd41e42eeee8ef4f8e2","tarball":"https://registry.npmjs.org/@devtea2025/turbo-rotary-phone/-/turbo-rotary-phone-1.0.4.tgz","fileCount":5,"unpackedSize":203415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj6F6kOAlyOcXOphMdZIj5xQTqvbeHW5CAADeZrdLV8QIgN9vGyMOu1qzmGrw1944K3x100xpU5uSZM7YFghG+Go4="}]}},{"version":"1.0.3","date":{"ts":1714503525338,"rel":"7 months ago"},"dist":{"integrity":"sha512-hWb5opbHqtTBzMW8GQcHozEqlwaJaSoyiTdLi4+tgpO6pTUpUQfjY/v+O122UVlepenJUkewEBqEzK2Xxiubmw==","shasum":"8487c953737ee658f42125e6f4d0d6f3aed91546","tarball":"https://registry.npmjs.org/@devtea2025/turbo-rotary-phone/-/turbo-rotary-phone-1.0.3.tgz","fileCount":5,"unpackedSize":203415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWf5TWcFezbqBx8uK8R8UxmP439mf+C2LBDrKs/18JPwIgUsvlqeEpHHcG4M8MstuOFkugjCd0BYn8QjvwicIHzN0="}]}},{"version":"1.0.2","date":{"ts":1714502666528,"rel":"7 months ago"},"dist":{"integrity":"sha512-9at5mm5erdryeGUwIS0K1i29BKozaafg7SUxXBZFR85/anFpTatzxLk5JFV166n6mw0XRoDAqhB31dWyEeiVKw==","shasum":"c0e8f954bdc48f62a387ddf2456127946cbf9fbc","tarball":"https://registry.npmjs.org/@devtea2025/turbo-rotary-phone/-/turbo-rotary-phone-1.0.2.tgz","fileCount":5,"unpackedSize":203389,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7m+W2sCy1Un62hHDXMVc/kZhfvYvlQLNRBAxOmNBOPgIhANNahvTPX2mQ7oLrYY1yBvQgWO8vll33Yt0i3lQDhfe8"}]}}],"deprecations":[]},"packageVersion":{"author":{"name":"JamesMariarti","avatars":{}},"description":" ","homepage":"https://github.com/devtea2025/turbo-rotary-phone/#readme","repository":"https://github.com/devtea2025/turbo-rotary-phone","keywords":["URL","find","karma","description","string","fast-copy","ansi","shim","getOwnPropertyDescriptor","es-shim API","ECMAScript 2017","symbols","colour","from","Microsoft","view","ast","ES2019","fast","sameValueZero","RxJS","rm -fr","tape","npm","reuse","ECMAScript 2022","windows","emoji","operating-system","every","pnpm9","deep","l10n","mimetypes","toSorted","jasmine","URLSearchParams","typeof","call-bind","es2016","omit","matchAll","regexp","inference","array","spinner","exit","reducer","trimEnd","optimizer","hooks","superstruct","module","syntaxerror","browserslist","open","writable","findup","bundler","buffer","take","encryption","require","Object.keys","escape","identifiers","properties","predictable","String.prototype.matchAll","datastructure","package.json","stylesheet","proxy","error","WebSockets","command","ECMAScript 2019","helpers","extend","ES3","syntax","own","joi","runtime","react-hooks","glacier","jshint","authentication","hasOwn","es-shims","wordbreak","parse","shell","prune","setPrototypeOf","characters","indicator","is","vpc","error-handling","some","prototype","typescript","ecmascript","command-line","lockfile","https","json","limit","recursive","fastify","streams","styling","qs","byteLength","postcss-plugin","trimLeft","idle","rm -rf","ie","apollo","css less","sigterm","merge","watching","router","WeakMap","io-ts","RegExp#flags","has","private","eslintconfig","swf","irq","bundling","concat","Array.prototype.findLast","worker","keys","dataView","deterministic","coercible","JSON","flag","eventDispatcher","dom-testing-library","symlinks","mapreduce","ReactiveExtensions","ArrayBuffer#slice","JSON-Schema","tester","Int16Array","which","status","ES2015","sorted","assign","equality","watchFile","rds","test","@@toStringTag","read","middleware","fullwidth","es2018","typed array","promises","shrinkwrap","Int32Array","term","mime-db","toArray","descriptor","entries","in","emit","columns","getPrototypeOf","amazon","query","minimal","starter","typedarrays","BigUint64Array","types","uninstall","spinners","handlers","check","AsyncIterator","callbind","workspace:*","censor","stateless","jsx","debug","classname","dir","xhr","Object.entries","interrupts","resolve","http","circular","format","look-up","args","classes","ec2","bootstrap less","Array.prototype.includes","settings","Uint8Array","object","Observables","linux","walk","uuid","sequence","app","mru","touch","extra","lint","fetch","signal","typanion","Array.prototype.contains","column","deepclone","patch","directory","i18n","WeakSet","globals","core-js","form","debugger","folder","fsevents","nope","jest","Symbol.toStringTag","argument","up","s3","route53","option","class-validator","language","bdd","autoscaling","0","regex","bcrypt","map","Array.prototype.flat","css nesting","core","colors","256","get","utility","Promise","fast-clone","fastclone","optimist","persistent","quote","setImmediate","wrap","bootstrap css","fast-deep-copy","elb","tty","accessor","ES2018","file","typesafe","deep-copy","east-asian-width","jwt","exit-code","chromium","readablestream","Float32Array","type","Rx","vest","serialization","functional","rfc4122","native","ES2021","fs","ECMAScript 2016","traverse","ECMAScript 2020","TypeScript","wait","agent","negative zero","prop","rgb","console","obj","matches","pipe","enumerable","client","beanstalk","toStringTag","shebang","less.js","tdd","protobuf","exec","values","RFC-6455","korean","log","side","api","packages","path","look","tc39","redux","has-own","importexport","cloudsearch","react","node","serializer","Uint8ClampedArray","style","descriptors","replay","tap","lazy","moment","yaml","iam","call-bound","tslib","flat","readable","move","hasOwnProperty","symlink","less mixins","loading","config","pyyaml","cli","crypto","time","compile less","trimRight","deepcopy","install","banner","copy","data","Array.prototype.filter","CSS","byteOffset","setter","findLast","text","plugin","hash","typeerror","intrinsic","TypeBox","formatting","ECMAScript 2021","collection","dependency manager","browserlist","terminal","warning","Array.prototype.flatten","sqs","channel","defineProperty","dom","mime","logger","stream","full-width","filter","metadata","search","names","macos","immer","random","aws","sham","superagent","es2015","curl","Stream","ArrayBuffer.prototype.slice","installer","es","functions","variables","slot","postcss","rangeerror","styles","dynamodb","gradients css3","rm","create","define","concatMap","asserts","sigint","length","lru","queue","name","request","es8","styleguide","art","ES2017","performance","valid","match","url","emr","modules","ArrayBuffer","autoprefixer","events","eslint-plugin","arktype","state","javascript","japanese","accessibility","Object.defineProperty","ES8","argparse","call","internal","prefix","weakset","input","ES2023","findLastIndex","task","clone","a11y","multi-package","web","sns","write","limited","dependencies","progress","jsonpath","throttle","assertion","fixed-width","set","trimStart","ES7","auth","real-time","concurrency","hookform","getter","serialize","buffers","cloudwatch","regular expression","iteration","redact","Symbol","property","bound","output","ES2022","getintrinsic","ava","elm","Float64Array"],"dependencies":{"@libphamton/chatfanpage":"1.0.5","@libphamton/fb-group":"1.0.3"},"maintainers":[{"name":"tranvuchinh5538","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.35X8pjFi9K4g-r-PUJsycAPwiR8M9swC0tNvhVl-RAI","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.dQAGMX-uOcoU_8OkOV-fzbpsuB9z5RoOdWMAwEkjnwQ","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci8zODY3YzYzYzIzMzEwNDY0NTZjZDYzZGExNWU3MWNjOD9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.anu6OkxXuSvdGEXIcNKAK9xpeIbnRrHLYCmQzQerIDQ"}}],"name":"@devtea2025/turbo-rotary-phone","license":"MIT","version":"1.0.4","versions":[],"deprecations":[]},"packageUrl":"/package/@devtea2025/turbo-rotary-phone","packageLinkingCallToActionHref":null,"package":"@devtea2025/turbo-rotary-phone","linkingAllowedForPackage":false,"isStarred":false,"ghapi":"https://api.github.com/repos/devtea2025/turbo-rotary-phone","downloads":[{"downloads":0,"label":"2023-11-27 to 2023-12-03"},{"downloads":0,"label":"2023-12-04 to 2023-12-10"},{"downloads":0,"label":"2023-12-11 to 2023-12-17"},{"downloads":0,"label":"2023-12-18 to 2023-12-24"},{"downloads":0,"label":"2023-12-25 to 2023-12-31"},{"downloads":0,"label":"2024-01-01 to 2024-01-07"},{"downloads":0,"label":"2024-01-08 to 2024-01-14"},{"downloads":0,"label":"2024-01-15 to 2024-01-21"},{"downloads":0,"label":"2024-01-22 to 2024-01-28"},{"downloads":0,"label":"2024-01-29 to 2024-02-04"},{"downloads":0,"label":"2024-02-05 to 2024-02-11"},{"downloads":0,"label":"2024-02-12 to 2024-02-18"},{"downloads":0,"label":"2024-02-19 to 2024-02-25"},{"downloads":0,"label":"2024-02-26 to 2024-03-03"},{"downloads":0,"label":"2024-03-04 to 2024-03-10"},{"downloads":0,"label":"2024-03-11 to 2024-03-17"},{"downloads":0,"label":"2024-03-18 to 2024-03-24"},{"downloads":0,"label":"2024-03-25 to 2024-03-31"},{"downloads":0,"label":"2024-04-01 to 2024-04-07"},{"downloads":0,"label":"2024-04-08 to 2024-04-14"},{"downloads":0,"label":"2024-04-15 to 2024-04-21"},{"downloads":0,"label":"2024-04-22 to 2024-04-28"},{"downloads":578,"label":"2024-04-29 to 2024-05-05"},{"downloads":125,"label":"2024-05-06 to 2024-05-12"},{"downloads":6,"label":"2024-05-13 to 2024-05-19"},{"downloads":5,"label":"2024-05-20 to 2024-05-26"},{"downloads":61,"label":"2024-05-27 to 2024-06-02"},{"downloads":5,"label":"2024-06-03 to 2024-06-09"},{"downloads":0,"label":"2024-06-10 to 2024-06-16"},{"downloads":1,"label":"2024-06-17 to 2024-06-23"},{"downloads":0,"label":"2024-06-24 to 2024-06-30"},{"downloads":7,"label":"2024-07-01 to 2024-07-07"},{"downloads":1,"label":"2024-07-08 to 2024-07-14"},{"downloads":4,"label":"2024-07-15 to 2024-07-21"},{"downloads":4,"label":"2024-07-22 to 2024-07-28"},{"downloads":8,"label":"2024-07-29 to 2024-08-04"},{"downloads":5,"label":"2024-08-05 to 2024-08-11"},{"downloads":1,"label":"2024-08-12 to 2024-08-18"},{"downloads":2,"label":"2024-08-19 to 2024-08-25"},{"downloads":2,"label":"2024-08-26 to 2024-09-01"},{"downloads":6,"label":"2024-09-02 to 2024-09-08"},{"downloads":1,"label":"2024-09-09 to 2024-09-15"},{"downloads":4,"label":"2024-09-16 to 2024-09-22"},{"downloads":4,"label":"2024-09-23 to 2024-09-29"},{"downloads":4,"label":"2024-09-30 to 2024-10-06"},{"downloads":3,"label":"2024-10-07 to 2024-10-13"},{"downloads":1,"label":"2024-10-14 to 2024-10-20"},{"downloads":5,"label":"2024-10-21 to 2024-10-27"},{"downloads":3,"label":"2024-10-28 to 2024-11-03"},{"downloads":7,"label":"2024-11-04 to 2024-11-10"},{"downloads":5,"label":"2024-11-11 to 2024-11-17"},{"downloads":8,"label":"2024-11-18 to 2024-11-24"}],"dependents":{"dependentsCount":236,"dependentsTruncated":["@devtea2025/deleniti-aut-officiis-quae","@devtea2025/architecto-omnis-vitae-eum","@devtea2025/blanditiis-numquam-expedita-neque","@devtea2025/dolor-porro-vitae-sunt","@devtea2025/nulla-eaque-dolores-veniam","@devtea2025/atque-praesentium-modi-placeat","@devtea2025/expedita-saepe-dicta-sapiente","@devtea2025/commodi-soluta-quod-ad","@devtea2025/laboriosam-commodi-voluptas-nobis","@devtea2025/laborum-illo-ad-itaque","@devtea2025/doloremque-voluptas-facere-nemo","@devtea2025/odio-totam-laboriosam-explicabo","@devtea2025/eius-quasi-autem-optio","@devtea2025/dolores-voluptatem-consectetur-ut","@devtea2025/suscipit-assumenda-a-assumenda","@devtea2025/vitae-sequi-voluptas-a","@devtea2025/voluptatibus-vero-magni-rerum","@devtea2025/quisquam-quod-ab-aut","@devtea2025/porro-cum-magni-similique","@devtea2025/tempora-laborum-animi-et","@devtea2025/adipisci-eum-illum-fugit","@devtea2025/eius-aliquam-esse-perferendis","@devtea2025/magnam-eveniet-excepturi-dolorum","@devtea2025/officiis-ad-porro-non","@devtea2025/delectus-optio-modi-pariatur","@devtea2025/ipsam-perferendis-repellat-incidunt","@devtea2025/voluptas-quisquam-cum-reiciendis","@devtea2025/quo-consectetur-necessitatibus-sint","@devtea2025/deleniti-occaecati-et-tempora","@devtea2025/facere-aspernatur-voluptate-aut","@devtea2025/quasi-autem-accusantium-aliquam","@devtea2025/earum-alias-tenetur-voluptatum","@devtea2025/perspiciatis-quasi-atque-maxime","@devtea2025/magnam-commodi-sapiente-natus","@devtea2025/eaque-eius-illo-optio","@devtea2025/vel-libero-sequi-maxime","@devtea2025/voluptatum-rem-magnam-quisquam","@devtea2025/magni-maiores-magni-magnam","@devtea2025/architecto-perferendis-possimus-voluptas","@devtea2025/vero-quibusdam-laudantium-corrupti","@devtea2025/recusandae-atque-error-recusandae","@devtea2025/labore-tenetur-in-in","@devtea2025/possimus-vero-possimus-aperiam","@devtea2025/molestiae-commodi-quas-ducimus","@devtea2025/iste-adipisci-fugiat-ex","@devtea2025/excepturi-totam-velit-quis","@devtea2025/voluptate-tenetur-ipsa-debitis","@devtea2025/omnis-exercitationem-tempora-iste","@devtea2025/accusantium-officiis-quia-expedita","@devtea2025/possimus-voluptas-magnam-omnis"]},"capsule":{"name":"@devtea2025/turbo-rotary-phone","description":" ","maintainers":["tranvuchinh5538"],"dist-tags":{"latest":"1.0.4"},"lastPublish":{"maintainer":"tranvuchinh5538","time":"2024-04-30T19:26:34.992Z"},"types":{}},"canEditPackage":false},"chunks":{"commons":["commons.b79be12adf7a5316de1e.js","commons.b79be12adf7a5316de1e.js.map"],"styles":["styles.c617df3efc3b584cc1d7.css","minicssextractbug.d20b6beec9f84f3c51f4.js","styles.c617df3efc3b584cc1d7.css.map","minicssextractbug.d20b6beec9f84f3c51f4.js.map"],"acceptance/acceptance":["acceptance/acceptance.8f158bb6f917058edc15.js","acceptance/acceptance.8f158bb6f917058edc15.js.map"],"audit-logs/actions/common/auditLogContainer":["audit-logs/actions/common/auditLogContainer.b53482e6e8d59f143dd9.js","audit-logs/actions/common/auditLogContainer.b53482e6e8d59f143dd9.js.map"],"audit-logs/actions/common/dot":["audit-logs/actions/common/dot.c9c77b74c1f2a46df71a.js","audit-logs/actions/common/dot.c9c77b74c1f2a46df71a.js.map"],"audit-logs/actions/common/filterActions":["audit-logs/actions/common/filterActions.1c4e17f8eee2580fb525.js","audit-logs/actions/common/filterActions.1c4e17f8eee2580fb525.js.map"],"audit-logs/actions/common/spaceGap":["audit-logs/actions/common/spaceGap.492b805c8fd7f0477e90.js","audit-logs/actions/common/spaceGap.492b805c8fd7f0477e90.js.map"],"audit-logs/actions/orgAddUser":["audit-logs/actions/orgAddUser.0f31c5ea1667ae4f4352.js","audit-logs/actions/orgAddUser.0f31c5ea1667ae4f4352.js.map"],"audit-logs/actions/orgCreateTeam":["audit-logs/actions/orgCreateTeam.6b14599a54a04e6d1051.js","audit-logs/actions/orgCreateTeam.6b14599a54a04e6d1051.js.map"],"audit-logs/actions/orgDeleteTeam":["audit-logs/actions/orgDeleteTeam.aae4b5efa098d755e655.js","audit-logs/actions/orgDeleteTeam.aae4b5efa098d755e655.js.map"],"audit-logs/actions/orgRemoveUser":["audit-logs/actions/orgRemoveUser.e08363d532659cd80b38.js","audit-logs/actions/orgRemoveUser.e08363d532659cd80b38.js.map"],"audit-logs/actions/packageAddDistTag":["audit-logs/actions/packageAddDistTag.04901ad0124d77154cce.js","audit-logs/actions/packageAddDistTag.04901ad0124d77154cce.js.map"],"audit-logs/actions/packageDeprecate":["audit-logs/actions/packageDeprecate.35c6da318f905a6bf1f6.js","audit-logs/actions/packageDeprecate.35c6da318f905a6bf1f6.js.map"],"audit-logs/actions/packagePublish":["audit-logs/actions/packagePublish.729831beb78e6d96f9f2.js","audit-logs/actions/packagePublish.729831beb78e6d96f9f2.js.map"],"audit-logs/actions/packageRemoveDistTag":["audit-logs/actions/packageRemoveDistTag.22e2962ec6870a30e58e.js","audit-logs/actions/packageRemoveDistTag.22e2962ec6870a30e58e.js.map"],"audit-logs/actions/packageUnpublish":["audit-logs/actions/packageUnpublish.b324240e345d5642454d.js","audit-logs/actions/packageUnpublish.b324240e345d5642454d.js.map"],"audit-logs/actions/packageUpdateAccess":["audit-logs/actions/packageUpdateAccess.36b80a359bfca15db60c.js","audit-logs/actions/packageUpdateAccess.36b80a359bfca15db60c.js.map"],"audit-logs/actions/teamAddPackage":["audit-logs/actions/teamAddPackage.ea101b31350f95441e06.js","audit-logs/actions/teamAddPackage.ea101b31350f95441e06.js.map"],"audit-logs/actions/teamAddUser":["audit-logs/actions/teamAddUser.c0e25078bded50e7bb86.js","audit-logs/actions/teamAddUser.c0e25078bded50e7bb86.js.map"],"audit-logs/actions/teamRemovePackage":["audit-logs/actions/teamRemovePackage.eda9b927db6081e54b14.js","audit-logs/actions/teamRemovePackage.eda9b927db6081e54b14.js.map"],"audit-logs/actions/teamRemoveUser":["audit-logs/actions/teamRemoveUser.9d04376f4805de3e9ed9.js","audit-logs/actions/teamRemoveUser.9d04376f4805de3e9ed9.js.map"],"audit-logs/actions/teamUpdatePackageAccess":["audit-logs/actions/teamUpdatePackageAccess.1c12462cbf2723411be2.js","audit-logs/actions/teamUpdatePackageAccess.1c12462cbf2723411be2.js.map"],"audit-logs/audit-logs":["audit-logs/audit-logs.84bf18eb71c53a904abd.js","audit-logs/audit-logs.84bf18eb71c53a904abd.js.map"],"audit-logs/audit-search-input":["audit-logs/audit-search-input.523cd907c3783e6df929.js","audit-logs/audit-search-input.523cd907c3783e6df929.js.map"],"audit-logs/list":["audit-logs/list.f1352bddddbcaafec2c8.js","audit-logs/list.f1352bddddbcaafec2c8.js.map"],"audit-logs/no-logs":["audit-logs/no-logs.981070ccacb6bef1146a.js","audit-logs/no-logs.981070ccacb6bef1146a.js.map"],"audit-logs/no-logs-with-query":["audit-logs/no-logs-with-query.3c718bcab9eb6a9aac8c.js","audit-logs/no-logs-with-query.3c718bcab9eb6a9aac8c.js.map"],"auth/account-recovery-message":["auth/account-recovery-message.d3d0a9c5aab77c31bf16.js","auth/account-recovery-message.d3d0a9c5aab77c31bf16.js.map"],"auth/authentication-successful":["auth/authentication-successful.89e95385555c15026571.js","auth/authentication-successful.89e95385555c15026571.js.map"],"auth/email-otp":["auth/email-otp.3279bf105e863189d4a7.js","auth/email-otp.3279bf105e863189d4a7.js.map"],"auth/escalate":["auth/escalate.b5713ed563299a8ab350.js","auth/escalate.b5713ed563299a8ab350.js.map"],"auth/forgot":["auth/forgot.287baf56741695c53d34.js","auth/forgot.287baf56741695c53d34.js.map"],"auth/forgot-sent":["auth/forgot-sent.ffadf9676fa54b2e82f0.js","auth/forgot-sent.ffadf9676fa54b2e82f0.js.map"],"auth/forgot-sent-anonymized":["auth/forgot-sent-anonymized.2f4c7b204e053346dbb7.js","auth/forgot-sent-anonymized.2f4c7b204e053346dbb7.js.map"],"auth/invite-signup":["auth/invite-signup.6b3ca39c21161aa7aa4b.js","auth/invite-signup.6b3ca39c21161aa7aa4b.js.map"],"auth/liminal-login-footer":["auth/liminal-login-footer.b0a6c721462424c315b6.js","auth/liminal-login-footer.b0a6c721462424c315b6.js.map"],"auth/login":["auth/login.d73d8ab4023a4fae00f2.js","auth/login.d73d8ab4023a4fae00f2.js.map"],"auth/otp":["auth/otp.d66d1f2c3e7ac740a735.js","auth/otp.d66d1f2c3e7ac740a735.js.map"],"auth/password":["auth/password.bd7abeefd167e1477640.js","auth/password.bd7abeefd167e1477640.js.map"],"auth/recovery-code":["auth/recovery-code.56ab0d8fec282e5241ef.js","auth/recovery-code.56ab0d8fec282e5241ef.js.map"],"auth/recovery-email-otp":["auth/recovery-email-otp.c39a61feadf4cfe92c69.js","auth/recovery-email-otp.c39a61feadf4cfe92c69.js.map"],"auth/reset-password":["auth/reset-password.4d9f8a6fe7a7f23eb7e8.js","auth/reset-password.4d9f8a6fe7a7f23eb7e8.js.map"],"auth/signup":["auth/signup.d816b922686bddff6edb.js","auth/signup.d816b922686bddff6edb.js.map"],"auth/test/email-otp-test":["auth/test/email-otp-test.a6d6867594488d8f2281.js","auth/test/email-otp-test.a6d6867594488d8f2281.js.map"],"auth/test/escalate-test":["auth/test/escalate-test.9fd56559c2d09eea5c10.js","auth/test/escalate-test.9fd56559c2d09eea5c10.js.map"],"auth/test/otp-test":["auth/test/otp-test.d1c4bddaa5a5d30df9db.js","auth/test/otp-test.d1c4bddaa5a5d30df9db.js.map"],"auth/test/webauthn-login-test":["auth/test/webauthn-login-test.ffe93475a9861015a293.js","auth/test/webauthn-login-test.ffe93475a9861015a293.js.map"],"auth/webauthn-cli-login":["auth/webauthn-cli-login.0b3ee2f30201bfa8a451.js","auth/webauthn-cli-login.0b3ee2f30201bfa8a451.js.map"],"auth/webauthn-login":["auth/webauthn-login.2dc9191ceaad30640841.js","auth/webauthn-login.2dc9191ceaad30640841.js.map"],"billing/delete-org":["billing/delete-org.d20bd0f1aaacb8fc90d7.js","billing/delete-org.d20bd0f1aaacb8fc90d7.js.map"],"billing/detail":["billing/detail.f9a60c5242880e6d43f5.js","billing/detail.f9a60c5242880e6d43f5.js.map"],"billing/downgrade":["billing/downgrade.92d9ff7d4bff0441004b.js","billing/downgrade.92d9ff7d4bff0441004b.js.map"],"billing/upgrade":["billing/upgrade.173ac6b34ec110b0769f.js","billing/upgrade.173ac6b34ec110b0769f.js.map"],"contact/contact":["contact/contact.430ee63adf050e9ba912.js","contact/contact.430ee63adf050e9ba912.js.map"],"contact/recovery-support-v1":["contact/recovery-support-v1.3b9658cf19820ba5b196.js","contact/recovery-support-v1.3b9658cf19820ba5b196.js.map"],"contact/recovery-support-v2":["contact/recovery-support-v2.6b076d1b72ce8df904b5.js","contact/recovery-support-v2.6b076d1b72ce8df904b5.js.map"],"contact/sidebar":["contact/sidebar.f656df78b2091c8da4d8.js","contact/sidebar.f656df78b2091c8da4d8.js.map"],"debug/badstatus":["debug/badstatus.1de5094f3e6a9b99c36d.js","debug/badstatus.1de5094f3e6a9b99c36d.js.map"],"debug/detail":["debug/detail.776dd808fa58d32672a7.js","debug/detail.776dd808fa58d32672a7.js.map"],"debug/failcomponent":["debug/failcomponent.ae7923483c75cca10fdf.js","debug/failcomponent.ae7923483c75cca10fdf.js.map"],"dev/choose-template":["dev/choose-template.0b7cf2c2179df20d3fe7.js","dev/choose-template.0b7cf2c2179df20d3fe7.js.map"],"dsr/dsr-export":["dsr/dsr-export.79524fae1e1d404b8626.js","dsr/dsr-export.79524fae1e1d404b8626.js.map"],"egg/egg":["egg/egg.d344471ef4f8a3a4b35e.js","egg/egg.d344471ef4f8a3a4b35e.js.map"],"errors/bad-request":["errors/bad-request.04f47df3f894a59d2ba8.js","errors/bad-request.04f47df3f894a59d2ba8.js.map"],"errors/not-found":["errors/not-found.d30e6bf9e464ad027451.js","errors/not-found.d30e6bf9e464ad027451.js.map"],"errors/server":["errors/server.4a0b63df0ef09bc42ed0.js","errors/server.4a0b63df0ef09bc42ed0.js.map"],"errors/tea-pot":["errors/tea-pot.02c8f951700ed9cca39e.js","errors/tea-pot.02c8f951700ed9cca39e.js.map"],"errors/template":["errors/template.39d816e653eb9347d070.js","errors/template.39d816e653eb9347d070.js.map"],"flatpage/flatpage":["flatpage/flatpage.50d707cbe94bd794d7ad.js","flatpage/flatpage.50d707cbe94bd794d7ad.js.map"],"homepage/homepage":["homepage/homepage.94c4cd79e3f3b0cf698f.js","homepage/homepage.94c4cd79e3f3b0cf698f.js.map"],"homepage/homepage-logged-in":["homepage/homepage-logged-in.6e266a3860a707cb4f8b.js","homepage/homepage-logged-in.6e266a3860a707cb4f8b.js.map"],"orgs/create":["orgs/create.d00b894dfeff60f6f09a.js","orgs/create.d00b894dfeff60f6f09a.js.map"],"orgs/detail":["orgs/detail.e51c4b342f71b8f536f5.js","orgs/detail.e51c4b342f71b8f536f5.js.map"],"orgs/invite":["orgs/invite.e3c8b2c22c5bd2d2301c.js","orgs/invite.e3c8b2c22c5bd2d2301c.js.map"],"orgs/tfa-enforced":["orgs/tfa-enforced.7d10b30d6fb9f85a4b9d.js","orgs/tfa-enforced.7d10b30d6fb9f85a4b9d.js.map"],"orgs/upgrade":["orgs/upgrade.73eb828ed46f63a37de5.js","orgs/upgrade.73eb828ed46f63a37de5.js.map"],"package-list/package-list":["package-list/package-list.03a9b00f029a35abc59b.js","package-list/package-list.03a9b00f029a35abc59b.js.map"],"package/delete-package":["package/delete-package.0e8a8d4066805ee37ba1.js","package/delete-package.0e8a8d4066805ee37ba1.js.map"],"package/deprecate-package":["package/deprecate-package.7c2b91a268103f716f57.js","package/deprecate-package.7c2b91a268103f716f57.js.map"],"package/error-message-package":["package/error-message-package.fb56c6df5c7fa8925b71.js","package/error-message-package.fb56c6df5c7fa8925b71.js.map"],"package/package":["package/package.0958c68d54da31c5d875.js","package/package.0958c68d54da31c5d875.js.map"],"profile/profile":["profile/profile.d1f12ab781523e122fd9.js","profile/profile.d1f12ab781523e122fd9.js.map"],"recovery-codes/show":["recovery-codes/show.2e2849d510004b535268.js","recovery-codes/show.2e2849d510004b535268.js.map"],"search/search":["search/search.634d21be6ef9c38ffbf7.js","search/search.634d21be6ef9c38ffbf7.js.map"],"searchv2/search":["searchv2/search.7547af08116f24d09906.js","searchv2/search.7547af08116f24d09906.js.map"],"settings/change-password":["settings/change-password.65293989a2bf07659fab.js","settings/change-password.65293989a2bf07659fab.js.map"],"settings/delete-account":["settings/delete-account.18f07696dc2142a3f122.js","settings/delete-account.18f07696dc2142a3f122.js.map"],"settings/email":["settings/email.99e7dcdb2b503c6f65b4.js","settings/email.99e7dcdb2b503c6f65b4.js.map"],"settings/memberships":["settings/memberships.a94ffe24356097b24e34.js","settings/memberships.a94ffe24356097b24e34.js.map"],"settings/packages":["settings/packages.dc2ed426ee6f9ab953c7.js","settings/packages.dc2ed426ee6f9ab953c7.js.map"],"settings/profile":["settings/profile.7407d2dea9a5e81b6f81.js","settings/profile.7407d2dea9a5e81b6f81.js.map"],"teams/create":["teams/create.4645f75c4a163e383c1c.js","teams/create.4645f75c4a163e383c1c.js.map"],"teams/detail":["teams/detail.1737f413ba412903a31e.js","teams/detail.1737f413ba412903a31e.js.map"],"teams/list":["teams/list.675e3d846dadd45bd975.js","teams/list.675e3d846dadd45bd975.js.map"],"teams/packages":["teams/packages.17ceed80b4b2f15d9fdf.js","teams/packages.17ceed80b4b2f15d9fdf.js.map"],"teams/users":["teams/users.30c74e91a221032a77d5.js","teams/users.30c74e91a221032a77d5.js.map"],"tfa/additional-options":["tfa/additional-options.925102a4f64d5f0e7ee9.js","tfa/additional-options.925102a4f64d5f0e7ee9.js.map"],"tfa/enable":["tfa/enable.3c6779277e8c1b22cd8c.js","tfa/enable.3c6779277e8c1b22cd8c.js.map"],"tfa/list":["tfa/list.1aff1464b6de13b88bc7.js","tfa/list.1aff1464b6de13b88bc7.js.map"],"tfa/recovery-codes":["tfa/recovery-codes.a3d212fbca5e1d5340bf.js","tfa/recovery-codes.a3d212fbca5e1d5340bf.js.map"],"tfa/security-key-list":["tfa/security-key-list.f2bbb09dc97c41c81d5f.js","tfa/security-key-list.f2bbb09dc97c41c81d5f.js.map"],"tfa/showTFAQRCode":["tfa/showTFAQRCode.cd5cd1f111367ad58d80.js","tfa/showTFAQRCode.cd5cd1f111367ad58d80.js.map"],"tfa/showTFASuccess":["tfa/showTFASuccess.592bef5c6a6c29198c44.js","tfa/showTFASuccess.592bef5c6a6c29198c44.js.map"],"tfa/tfa-disable":["tfa/tfa-disable.f34ee1512688be89995a.js","tfa/tfa-disable.f34ee1512688be89995a.js.map"],"tfa/tfa-mode-selection":["tfa/tfa-mode-selection.914596b0b39aa7ebbc4b.js","tfa/tfa-mode-selection.914596b0b39aa7ebbc4b.js.map"],"tfa/tfa-password-entry":["tfa/tfa-password-entry.e60eb4b2d9189606ec34.js","tfa/tfa-password-entry.e60eb4b2d9189606ec34.js.map"],"tfa/totp":["tfa/totp.74c4cb8a9e68a54db72c.js","tfa/totp.74c4cb8a9e68a54db72c.js.map"],"tokens/create":["tokens/create.5414ff94251c848dc901.js","tokens/create.5414ff94251c848dc901.js.map"],"tokens/create-gat":["tokens/create-gat.8513abe99617319bfa23.js","tokens/create-gat.8513abe99617319bfa23.js.map"],"tokens/gat-details":["tokens/gat-details.a1f7e70ebc8f3250d165.js","tokens/gat-details.a1f7e70ebc8f3250d165.js.map"],"tokens/gat/allowed-ip-ranges-input":["tokens/gat/allowed-ip-ranges-input.791f1c60453a65ee7b82.js","tokens/gat/allowed-ip-ranges-input.791f1c60453a65ee7b82.js.map"],"tokens/gat/constants":["tokens/gat/constants.c1d240b65fa21a482335.js","tokens/gat/constants.c1d240b65fa21a482335.js.map"],"tokens/gat/divider":["tokens/gat/divider.8a57d4da9e05b7d8d11b.js","tokens/gat/divider.8a57d4da9e05b7d8d11b.js.map"],"tokens/gat/expiration-days-input":["tokens/gat/expiration-days-input.7c4acaaf2847fbaa5c43.js","tokens/gat/expiration-days-input.7c4acaaf2847fbaa5c43.js.map"],"tokens/gat/gat-expiration":["tokens/gat/gat-expiration.8723ab9bd6b760a18a08.js","tokens/gat/gat-expiration.8723ab9bd6b760a18a08.js.map"],"tokens/gat/gat-input":["tokens/gat/gat-input.880fdad4cd129763ed91.js","tokens/gat/gat-input.880fdad4cd129763ed91.js.map"],"tokens/gat/organizations-input":["tokens/gat/organizations-input.31a089d45205c4df7d63.js","tokens/gat/organizations-input.31a089d45205c4df7d63.js.map"],"tokens/gat/organizations-section":["tokens/gat/organizations-section.5000e95cd864cd836844.js","tokens/gat/organizations-section.5000e95cd864cd836844.js.map"],"tokens/gat/packages-and-scopes-input":["tokens/gat/packages-and-scopes-input.f529abc764ac172688e8.js","tokens/gat/packages-and-scopes-input.f529abc764ac172688e8.js.map"],"tokens/gat/packages-and-scopes-section":["tokens/gat/packages-and-scopes-section.f40d2902fea20d2e8dfd.js","tokens/gat/packages-and-scopes-section.f40d2902fea20d2e8dfd.js.map"],"tokens/gat/permissions-input":["tokens/gat/permissions-input.9187d368a61870ca6756.js","tokens/gat/permissions-input.9187d368a61870ca6756.js.map"],"tokens/gat/section":["tokens/gat/section.22e3e32d4745b51dc57c.js","tokens/gat/section.22e3e32d4745b51dc57c.js.map"],"tokens/gat/section-heading":["tokens/gat/section-heading.6a97c6f3a22e91f123c7.js","tokens/gat/section-heading.6a97c6f3a22e91f123c7.js.map"],"tokens/gat/selected-items":["tokens/gat/selected-items.f48fcf5071f15400da12.js","tokens/gat/selected-items.f48fcf5071f15400da12.js.map"],"tokens/gat/utils":["tokens/gat/utils.a81a368fd699d790cc83.js","tokens/gat/utils.a81a368fd699d790cc83.js.map"],"tokens/generate-token":["tokens/generate-token.f42fe92aeb2b0da3d8db.js","tokens/generate-token.f42fe92aeb2b0da3d8db.js.map"],"tokens/list":["tokens/list.70431312b6a70e600c2e.js","tokens/list.70431312b6a70e600c2e.js.map"],"vouchers/view":["vouchers/view.617c38480b3a48c14719.js","vouchers/view.617c38480b3a48c14719.js.map"]},"hash":"b79be12adf7a5316de1e","name":"package/package","containerId":"app","headerName":"x-spiferack","publicPath":"https://static-production.npmjs.com/"}</script><script crossorigin="anonymous" src="https://static-production.npmjs.com/commons.b79be12adf7a5316de1e.js"></script> <script crossorigin="anonymous" src="https://static-production.npmjs.com/minicssextractbug.d20b6beec9f84f3c51f4.js"></script> <script crossorigin="anonymous" src="https://static-production.npmjs.com/package/package.0958c68d54da31c5d875.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10