var A = 1
var B = 'Hello'
B = [A, A = B][0];
> A
"Hello"
> B
1
Go to list of users who liked
More than 5 years have passed since last update.
var A = 1
var B = 'Hello'
B = [A, A = B][0];
> A
"Hello"
> B
1
Register as a new user and use Qiita more conveniently
Go to list of users who liked