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
Randi Hipper
6 minutes agoBIG WEEK FOR BITCOIN! LATEST PRICE UPDATE
111 watching -
LIVE
LFA TV
11 hours agoLFA TV ALL DAY STREAM - MONDAY 9/15/25
5,282 watching -
1:26:16
JULIE GREEN MINISTRIES
3 hours agoLIVE WITH JULIE
75.8K169 -
LIVE
The Pete Santilli Show
2 hours agoOur Memorial & Prayer Vigil For Charlie Kirk - September 15, 2025
500 watching -
LIVE
Welcome to the Rebellion Podcast
22 hours ago $1.03 earnedWhere Do We Go From Here? - WTTR Podcast Live 9/15
327 watching -
LIVE
The Chris Salcedo Show
17 hours ago $2.77 earnedFALLOUT: Charlie Kirk's Assassination
625 watching -
LIVE
The Bubba Army
2 days agoCharlie Kirk's Shooter, Had a Trans BF? - Bubba the Love Sponge® Show | 9/15/25
1,506 watching -
30:31
DeVory Darkins
16 hours ago $8.12 earnedCNN forced to admit the shocking truth about shooter as Fetterman drops bomb on Democrats
27.2K84 -
20:54
Professor Nez
17 hours ago🚨BREAKING: Shooter’s Own Words in Charlie Kirk Case Revealed
13.5K14 -
16:48
itsSeanDaniel
17 hours agoGenius Republican Defends Charlie Kirk and CALLS OUT The Radical Left
12.2K3