Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript Skip Items

const arrValue = ['one', 'two', 'three'];

// destructuring assignment in arrays
const [x, , z] = arrValue;

console.log(x); // one
console.log(z); // three
 
PREVIOUS NEXT
Tagged: #javascript #Skip #Items
ADD COMMENT
Topic
Name
5+4 =