is this a correct syntax const [response] = await tasks.createTask()
Im familiar with the object destructuring method but this looks kinda weird
yeah it's valid syntax
Message Not Public
Sign In and Join Server To See
oh but how does it work tho I tried testing it by creating a function to return an array ["response", "jason"]
then I didconst ["jason"] = function();` then console logged it and it kept on returning "response"
The word that goes in the  is the assigned variable name