Question: How can I take inputs in an unsized Two-Dimesional array. I just can't figure out how to create an array as such. I even tried ArrayList. But the Second-Dimendional array needs to be sized. But I can't determine the size for the array.

Answer: 
What you're trying to do is a violation of syntax rules. 

The `return` keyword can only be used at the beginning of a [*return statement*](http://www.ecma-international.org/ecma-262/5.1/#sec-12.9)

In `data && data.cod == '404' && <something>`, the only thing you can place in `<something>` is an expression, not a statement. You can't put `return` there.

To return conditionally, use a proper `if` statement:

```
if(data && data.cod == '404') {
    return;
}

```

I would recommend against using shortcuts like you're trying to do as a "clever" way to execute code with side effects. The purpose of the conditional operator and boolean operators is to *produce a value*:

**Good:**

```
var value = condition ? valueWhenTrue : valueWhenFalse;

```

**Bad:**

```
condition ? doSomething() : doSomethingElse();

```

You shouldn't be doing this, even if the language allows you to do so. That's not what the conditional operator is intended for, and it's confusing for people trying to make sense of your code.

Use a proper `if` statement for that. That's what it's for:

```
if (condition) {
    doSomething();
} else {
    doSomethingElse();
}

```

You can put it on one line if you really want to:

```
if (condition) { doSomething(); } else { doSomethingElse(); }

```
Well then just write the return in the if

```
var result = (data && data.cod   ==  '404') 
if (result) {
  return result;
} else {
    //otherwise
}

```