Menu
Hi, I’m a newbie at the forum and at JavaScript. Even when I was a programmer for 25 years, I’m just starting with JS.
I have a question: I’m tryng to obtain 2 results from a function, but I can’t ?
Example:
function doSomething(a, b) {
a += 1
b += 2
return ????????????
}
I need to call this function, but I need to obtain the new [b]a[b]b
Can I do this in JS?
Thanks