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
-
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
262 watching -
16:22
BlabberingCollector
2 days agoHarry Potter HBO: Addressing Some New Rumors!
2.29K2 -
4:01:30
Badlands Media
20 hours agoThe Narrative Ep. 37: The Sovereign War
174K32 -
11:23:54
SpartakusLIVE
13 hours agoMega SOLO Spartan Stream - 12 hours?! HA || Variety Later?!
103K -
4:55:23
Rallied
6 hours ago $19.00 earnedSolo Warzone Challenges All Night
45.7K3 -
4:53:38
Due Dissidence
15 hours agoTaibbi DEFENDS Weiss-CBS Deal, Pakman Producer SPILLS TEA, Massie CALLS OUT Trump Informant Claims
29.9K39 -
2:33:47
TheSaltyCracker
8 hours agoMedia Silent on Metro Attack ReeEEStream 9-07-25
148K284 -
56:27
Sarah Westall
9 hours agoEnd of Aging, Hydrogen Bomb Research, Serial Killers & Violent Behavior, Bipolar Research w/Dr Walsh
40.2K6 -
4:36:53
MattMorseTV
11 hours ago $17.56 earned🔴Sunday Gaming🔴
72.4K6 -
2:31:16
Joker Effect
7 hours agoINTERVIEWING Rumble Gaming community members: Viewbotting and how they see the current landscape.
31.9K3