Skip to content

jaydson/es2020

Repository files navigation

ES2020

BrazilJS JavaScript 2020 playlist (portuguese only for now):
https://www.youtube.com/playlist?list=PLg2lQYZDBwOSbZVEaPHNwUTj6IhQ9F3ag

Slides for my talk "ES2020 - O JavaScript finalmente enterprise?"
https://docs.google.com/presentation/d/e/2PACX-1vTeLJ5CsjVwwR5fjcOM7IhciuLPuXkvXsZ186Zk4k7pYcogKBvCy0MH5uhS3jZ7LBWGRZn-S1TyUGZb/pub?start=false&loop=false&delayms=60000

📖 Full spec: https://www.ecma-international.org/ecma-262/11.0/index.html

Dynamic imports

📺 Video (portuguese only for now): https://www.youtube.com/watch?v=zjN7pbK7aKQ
📑 Proposal: https://github.com/tc39/proposal-dynamic-import
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-imports

Refs:

https://v8.dev/features/dynamic-import
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://2ality.com/2017/01/import-operator.html

Optional chaining

📺 Video (portuguese only for now): https://youtu.be/0xDSWkxrnpg
📑 Proposal: https://github.com/tc39/proposal-optional-chaining
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-optional-chains

Refs:

https://v8.dev/features/optional-chaining
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
https://2ality.com/2019/07/optional-chaining.html
https://dmitripavlutin.com/javascript-optional-chaining/

Nullish coalescing

📺 Video (portuguese only for now): https://youtu.be/PdZ10n19Juo
📑 Proposal: https://github.com/tc39/proposal-nullish-coalescing/
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-ecmascript-language-expressions

Refs:

https://v8.dev/features/nullish-coalescing
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator
https://2ality.com/2019/08/nullish-coalescing.html
https://medium.com/javascript-in-plain-english/nullish-coalescing-operator-for-javascript-8f502b970ba8

globalThis

📺 Video (portuguese only for now): https://youtu.be/qBf8AyxJTXY
📑 Proposal: https://github.com/tc39/proposal-global
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-globalthis

Refs:

https://v8.dev/features/globalthis
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
https://2ality.com/2019/08/global-this.html
https://mathiasbynens.be/notes/globalthis

String.prototype.matchAll

📺 Video (portuguese only for now): https://youtu.be/ybnutq-qEIs
📑 Proposal: https://github.com/tc39/proposal-string-matchall
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-string.prototype.matchall

Refs:

https://v8.dev/features/string-matchall
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll
https://developers.google.com/web/updates/2019/02/string-matchall
https://2ality.com/2018/02/string-prototype-matchall.html

Promise allSettled

📺 Video (portuguese only for now): https://youtu.be/sHOZYxBXS_0
📑 Proposal: https://github.com/tc39/proposal-promise-allSettled
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-promise.allsettled

Refs:

https://v8.dev/features/promise-combinators#promise.allsettled
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
https://davidwalsh.name/promise-allsettled
https://2ality.com/2019/08/promise-combinators.html

Module namespace exports

📺 Video: pending ⌛️
📑 Proposal: https://github.com/tc39/proposal-export-ns-from
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-exports

Refs:

https://v8.dev/features/module-namespace-exports
https://medium.com/javascript-in-plain-english/javascript-module-namespace-exports-71dc7d1a75c0
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
https://2ality.com/2011/04/modules-and-namespaces-in-javascript.html
https://2ality.com/2014/09/es6-modules-final.html

BigInt

📺 Video: pending ⌛️
📑 Proposal: https://github.com/tc39/proposal-bigint
📖 Spec: https://www.ecma-international.org/ecma-262/11.0/index.html#sec-terms-and-definitions-bigint-type

Refs:

https://v8.dev/features/bigint
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
https://2ality.com/2017/03/es-integer.html

About

ES2020 examples

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published