**Tell us what’s happening:**

I can solve the problem with the if statement but I was wondering why it doesn’t work with the switch.

**Your code so far**

```
// Setup
function abTest(a, b) {
// Only change code below this line
switch(a,b){
case a<0:
case b<0:
return undefined;
break;
default:
return Math.round(Math.pow(Math.sqrt(a) + Math.sqrt(b), 2));
break;
}
}
abTest(2,2);
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 OPR/73.0.3856.329`

.

**Challenge:** Return Early Pattern for Functions

**Link to the challenge:**