/*The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, */ function getFirstElementOfArray(...args){ return args[1] } getFirstElementOfArray("shirshak","Sabtech","Javascript")// return shirshak