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
-
2:03:29
Tundra Tactical
7 hours ago $8.61 earned🛑LIVE NOW!! Honest Gun Company Slogans Gun Mad Libs and Much More
21.6K2 -
4:54:33
MattMorseTV
8 hours ago $259.73 earned🔴Senate VOTES to END the SHUTDOWN.🔴
158K188 -
2:55:39
Barry Cunningham
1 day agoBREAKING NEWS: DID PRESIDENT TRUMP MAKE A HUGE MISTAKE? SOME SUPPORTERS THINK SO!
54.1K35 -
LIVE
SpartakusLIVE
6 hours agoSOLOS on WZ || #1 Challenge MASTER is BACK in Verdansk
296 watching -
2:49:38
megimu32
5 hours agoOFF THE SUBJECT: Chill Stream, Music & Fortnite Chaos 🎹🎮
33.8K4 -
2:24:09
vivafrei
15 hours agoEp. 290: Canada's Darkest Week; Comey Fix is In! Tariffs, SNAP, Hush Money Win & MORE!
232K189 -
5:01:48
EricJohnPizzaArtist
5 days agoAwesome Sauce PIZZA ART LIVE Ep. #68: DDayCobra Jeremy Prime!
31.5K12 -
LIVE
meleegames
5 hours ago32X Roulette - 30 Years. 32 Games. 32X.
82 watching -
3:20:37
SOLTEKGG
4 hours ago(30+ KILL WORLD RECORD) - Battlefield 6
8.27K1 -
1:18:00
HELMETFIRE
4 hours ago🟢GAMING WITH FIRE EP15🟢
6.94K