Answers for "*args python javascript equivalent"

0

*args python javascript equivalent

//spread operator
a = [1, 2, 3]

function printArgs(args) {
	console.log(...args)
}

printArgs(a)
//=> 1 2 3
Posted by: Guest on April-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language