Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js copy values from one array to another node new

// new js method, not available to all platforms
structuredClone(value)
structuredClone(value, { transfer })

/*
	check in:
	https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
*/
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #copy #values #array #node
ADD COMMENT
Topic
Name
4+3 =