Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by Ram ( 13 years ago )
function test() {
    var object = [1,2,3,4]
    for (variable in object) {
        if (variable > 2) {
            return variable;
        } else {
            console.log(variable);
        }
    }
}
console.log("result is ", test());

 

Revise this Paste

Your Name: Code Language: