Quotes help make search much faster. Example: "Practice Makes Perfect"

Wednesday, November 7, 2012

Codecademy: Sample Solution to Array Checking under jQuery



//Sample Solution to script.js
function safeLength(object) {
    //your code here
    if(object.isArray()){
    return object.length();
    } else {
    return 0;
    }
}

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts