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
-
1:58:57
The Quartering
3 hours agoCharlie Kirk Assassination Appears In Court!
181K45 -
1:17:35
Awaken With JP
2 hours agoAmerica Rocked by Charlie Kirk Death - LIES Ep 108
37.4K16 -
1:05:13
Russell Brand
4 hours agoReporting From Tommy Robinson’s ‘Unite the Kingdom’ March - SF634
115K56 -
LIVE
Rallied
2 hours ago $0.31 earnedWarzone Challenges All Night
76 watching -
55:05
Committee on House Administration
1 day agoSubcommittee on Elections Hearing:“Maintaining Election Operations in the Face of Natural Disasters”
16.1K -
5:56
Buddy Brown
4 hours ago $2.53 earnedThis is Why Everyone's Googling September 23rd! | Buddy Brown
28.5K20 -
58:33
Human Events Daily with Jack Posobiec
2 hours agoBreaking: Utah Prosecutors Announce Charges Against Charlie Kirk Assassin
33.1K2 -
3:21
Michael Heaver
3 hours agoGermany’s Seismic Result Serves WARNING
21.4K4 -
1:02:14
SGT Report
18 hours agoGOD'S ORDER VS. SATAN'S CHAOS -- Dr. Henry Ealy
36.7K38 -
2:03:13
The Charlie Kirk Show
4 hours agoMichael Knowles, Matt Walsh, and Ben Shapiro Remember Charlie Kirk | 9.16.2025
444K453