DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
switch variables javascript
let a = 5, b = 6; [a, b] = [b, a]; console.log(`${a} ${b}`); Run code snippet
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#switch
#variables
#javascript
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit