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
-
DVR
Stephen Gardner
40 minutes ago🔥Adam Schiff OBLITERATED by Trump's NEW EVIDENCE!
6 -
Russell Brand
2 hours agoTHE TRUST CRISIS — Vaccines, Obama’s Image & Gates’ Agenda - SF648
34.2K7 -
LIVE
Film Threat
18 hours agoVERSUS: SYDNEY SWEENEY VS. PREDATOR: BADLANDS | Film Threat Versus
138 watching -
1:13:22
DeVory Darkins
3 hours agoDemocrats SUFFER DEFEAT as party turns on Chuck Schumer
105K30 -
1:06:18
Timcast
4 hours agoGangs Order KILL ON SIGHT DHS Agents, Chicago Is A WAR ZONE
233K158 -
1:06:01
MattMorseTV
4 hours ago $18.87 earned🔴Schumer’s FAILURE sparks Democrat MUTINY.🔴
41.6K46 -
1:06:51
Jeff Ahern
1 hour agoMonday Madness with Jeff Ahern
3.1K2 -
18:56
Neil McCoy-Ward
8 hours ago🔥 The UK Has A *HUGE* Problem! (And It's About To Get Worse...) 🚨
18.7K16 -
9:37
Silver Dragons
3 hours agoSilver Price EXPLODES HIGHER - Is $50 Silver the New Floor?
19.9K4 -
1:18:28
HotZone
5 days ago $1.73 earnedJihadi Terror Rising: Have We Learned Anything Since 9/11?
19.3K18