Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
The Dark Side of JavaScript
Lucas Santos
May 17, 2021
Technology
0
21
The Dark Side of JavaScript
Lucas Santos
May 17, 2021
Tweet
Share
More Decks by Lucas Santos
See All by Lucas Santos
Ambientes dinâmicos com GitHub Actions
khaosdoctor
0
15
Integrating Containers Into JavaScript
khaosdoctor
0
13
Entendendo o ecossistema de containers
khaosdoctor
1
420
gRPC with Node.js
khaosdoctor
0
300
Azure Full Cycle
khaosdoctor
0
51
Utilizando Azure para Processos Rápidos
khaosdoctor
0
55
AKS + GitHub Actions
khaosdoctor
0
66
Desmistificando Herança e Protótipos no JS - Short
khaosdoctor
1
110
Kubernetes with aks
khaosdoctor
1
140
Other Decks in Technology
See All in Technology
アルプでのAgile Testing / Alp Agile Testing
nametake
0
210
New Features in C# 10/11
chack411
0
990
SRENEXT2022 組織にSREを実装していくまでの道のり
marnie0301
1
660
Adopting Kafka for the #1 job site in the world
ymyzk
1
670
CTOのためのQAのつくりかた #scrumniigata / SigSQA How to create QA for CTOs and VPoEs
caori_t
0
320
0->1 フェーズで E2E 自動テストを導入した私たちの、これまでとこれから
yoyakoba
0
680
開発者のための GitHub Organization の安全な運用と 継続的なモニタリング
flatt_security
3
3.9k
5分で完全理解するGoのiota
uji
3
2.1k
SRE の歩き方・進め方 / sre-walk-through-procedure
rrreeeyyy
0
500
srenext2022-skaru
mixi_engineers
PRO
1
860
LINEスタンプの実例紹介 小さく始める障害検知・対応・振り返りの 改善プラクティス
line_developers
PRO
3
1.8k
Whats new in Android Media?
myolwin00
2
120
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.3k
Designing the Hi-DPI Web
ddemaree
272
32k
Code Review Best Practice
trishagee
41
6.8k
BBQ
matthewcrist
74
7.9k
YesSQL, Process and Tooling at Scale
rocio
157
12k
Design by the Numbers
sachag
271
17k
Why You Should Never Use an ORM
jnunemaker
PRO
47
5.5k
Unsuck your backbone
ammeep
659
55k
Music & Morning Musume
bryan
35
4.2k
Scaling GitHub
holman
451
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
268
11k
Atom: Resistance is Futile
akmur
255
20k
Transcript
Javascript as you never saw before
cloud advocate_ who am I_ ludossan@microsoft.com {twitter, facebook, linkedin…}.lsantos.dev
The magic JS
Removing Callbacks
The Dark Side of Javascript JS
Symbols
None
None
None
BUT BE AWARE_
Small usage example
Other usage example in Node.js source code bit.ly/nodejs-symbol Check it
out!
Async Iterators_
None
None
None
None
None
None
None
Promise.finally
None
Promise.allSettled
None
None
Ranges
None
None
None
Readonly properties_
Object.defineProperty
None
Object.defineProperties
‘age’ hasn’t been shown because it’s not enumerable
Private class fields_
None
None
Dynamic function creation_
None
None
in operator_
None
None
Dynamic instances by reflection_
None
None
None
Bitwise Operators_
AND
None
What!?
A B C D Result X 0 1 0 1
5 Y 0 0 0 1 1 Z 0 0 0 1 1
String as binary data
OR
None
A B C D Result X 0 1 0 1
5 Y 0 0 0 1 1 Z 0 1 0 1 5
XOR
None
A B C D Result X 0 1 0 1
5 Y 0 0 0 1 1 Z 0 1 0 0 4
Cryptography
None
NOT
None
A B C D Resultado X 0 1 0 1
5 Z 1 0 1 0 10
Existence condition
None
SHIFT
None
Multiply and divide
None
refs_ - imasters.com.br/desenvolvimento/o-lado-escuro-javascript - medium.com/trainingcenter/entendendo-promises-de-uma-vez-por-todas-3 2442ec725c2 - imasters.com.br/desenvolvimento/campos-publicos-e-privados-em-classes-j avascript-o-que-vem-por-ai-no-esnext -
imasters.com.br/javascript/futuro-das-promises-no-javascript - medium.com/trainingcenter/iterators-em-javascript-880adef14495 - medium.com/trainingcenter/reflection-em-javascript-73fc0e702e2 - developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objec ts/Reflect - slides.lsantos.dev/desmistificando-heranca-e-prototipos-no-javascript - dev.to/khaosdoctor/entendendo-async-iterators-1opo
thank you_ info.lsantos.dev