Hi,
is there a javascript equivalent to unpack sequences like in python (a,b=(1,2)
)?
Thanks in advance.
Hi,
is there a javascript equivalent to unpack sequences like in python (a,b=(1,2)
)?
Thanks in advance.
An object cannot contain a reference to an integer, only its value. So I can't see any way to do what you ask in javascript.