JSFiddle - React, Tailwind, and code Playground
JavaScript
"use strict";
let a,
b,
c,
f = () => {
return [1, 2, 3]
};
[a, b, c] = f();
alert(`a = ${a}, b = ${b}, c = ${c}`);
"use strict";
let a,
b,
c,
f = () => {
return [1, 2, 3]
};
[a, b, c] = f();
alert(`a = ${a}, b = ${b}, c = ${c}`);