I need to rewrite the body of the function to make a single return statement and declare no variables.
var x = 4 * x * y;
var y = 3 * y + 5;
var z = x + y;
return z;
}```
First attempt
```function labyrinth(x, y) {
return ((4xy) + (3y + 5));
}```
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I need to rewrite the body of the function to make a single return statement and declare no variables.
var x = 4 * x * y;
var y = 3 * y + 5;
var z = x + y;
return z;
}```
First attempt
```function labyrinth(x, y) {
return ((4xy) + (3y + 5));
}```