function all_max(...array ) // Put it first index of in new Array { console.log(array) } function koko(array)//extract elements of array { console.log(...array) } function arr(array) { console.log(array) } function arr2(...array) { console.log(...array) } all_max([20, 30, 40]) koko([20, 30, 40]) arr([20, 30, 40]) arr2([20, 30, 40])
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter