Answers for "tuple javascript"

0

tuple javascript

function getTuple(){
   return ["Bob", 24];
}
var [a, b] = getTuple();
// a === "bob" , b === 24 are both true
Posted by: Guest on April-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language