Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

  

/ *

Setters de matriz

-------------

SEM alterar a declaração literal da matriz,

- atribua o número 4 ao final desta matriz

- mude o primeiro valor na matriz para o número 1

* /

var numbers = [1, 2, 3]; // Não mude esta declaração literal de array

/*

DO NOT EDIT BELOW THIS LINE

--------------------------- */

console.log(numbers);

 

 

/ *

RESULTADO ESPERADO

---------------

[1, 2, 3, 4]

* /

  

/ *

Métodos de array - classificar

--------------------

* /

 

var numbers = []; // add numbers from 1 to 10 into this array

var mentors; // Create an array with the names of the mentors: Daniel, Irina and Rares

/*

DO NOT EDIT BELOW THIS LINE

--------------------------- */

console.log(numbers);

console.log(mentors);

 

/ *

RESULTADO ESPERADO

---------------

[1, 2, 3]

* /

#22

welligton costa
Module by welligton costa, updated more than 1 year ago
No tags specified