Premium Only Content

APRENDA A PROGRAMAR DE FORMA DESCOMPLICADA ! EXEMPLO DE USO DO RECURSO ...SPREAD - JAVASCRIPT
O Spread Operator é usado com bastante frequência principalmente quando queremos utilizar a imutabilidade, ou seja, criar um objeto novo a partir de um objeto existente.
Outro exemplo seria:
const arr = [0, 1, 2]
Então, se eu quisesse criar um novo vetor eu faria:
constNewArr = [...arr, 3]
Somente esses 3 pontinhos já é o Spread Operator.
E o que ele faz?
Ele nos retornará um vetor novo com o 0,1,2,3.
===================================================
NOSSA LISTA DE CURSOS DISPONÍVEIS, APRENDA AGORA!
TipsCode - Curso Desenvolvedor FullStack Turbo
https://go.hotmart.com/S73665094L
.
Python Academy - Oficina Python
https://go.hotmart.com/K73665221J
.
Programação em Python
https://go.hotmart.com/U73842948B
.
JavaScript do absoluto zero + Apostilha de Estudo + Link para ex
https://go.hotmart.com/C73740254W
-
11:23
Nikko Ortiz
14 hours agoArmy Tik Tok Fails Go Hard
5.06K1 -
2:04:38
Side Scrollers Podcast
18 hours agoEveryone HATES Baseball Karen + Gaming’s Newest Virtue Signal + MORE | Side Scrollers Live
31.8K7 -
1:13:08
The HotSeat
14 hours agoWhen Local Authorities Won’t Act, the Feds Will
8.02K16 -
15:13
The Pascal Show
10 hours ago $0.56 earnedHE LIED?! Trump In Hot Water After Lewd Epstein Birthday Card Released By Oversight Committee
6.72K25 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
208 watching -
14:47
GritsGG
8 days agoRumble Tournament Dubular! Rebirth Island Custom Tournament!
110K6 -
2:03:11
Inverted World Live
11 hours agoY2K 2.0 | Ep. 104
132K9 -
2:02:53
Badlands Media
15 hours agoBaseless Conspiracies Ep. 149: Epstein Docs, Charlotte Stabbing, and Trump’s Next Moves
59.1K19 -
2:56:12
TimcastIRL
9 hours agoTrump SLAMS Democrats Over Irina Zarutska Killing, Says WAR Over Chicago Crime | Timcast IRL
199K124 -
29:08
Afshin Rattansi's Going Underground
1 day agoCol. Lawrence Wilkerson: World War 3 is ALREADY HERE, Netanyahu is INTENT on Greater Israel
29.3K26