I have been trying to copy a select dropdown's contents into a new array directly using the JS slice command but as this is not working I am wondering if this is correct & should work or if it is an incorrect syntax. (My aim is to copy the entire contents of select preferrably without using a loop into a new array that does not change with the original select's contents)
Tried code here