Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript swap two variables

[a, b] = [b, a];
 
PREVIOUS NEXT
Tagged: #javascript #swap #variables
ADD COMMENT
Topic
Name
8+5 =