JS REST PARAMETERS EXAMPLE
Run
<!doctype html>
	<head>
		<title>JS Rest Parameters Example</title>
	</head>
	<body>
		<script>
		function test(a, ...someMore) 
        {
            document.write("First parameter: " + a);
            document.write("<br/>More parameters: " + someMore);
        }
        // calling the function
        test(1, 2, 3, 4, 5);
		</script>
	</body>
</html>