Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

... array operator javascript

const names = ['Giovanna', 'Ana', 'Bia'];
const newNames = ['Julia', ...names];
console.log(newNames); // ['Julia', 'Giovanna', 'Ana', 'Bia']
Source by cursos.alura.com.br #
 
PREVIOUS NEXT
Tagged: #array #operator #javascript
ADD COMMENT
Topic
Name
3+1 =