JavaScript terminate function

function doSomeStuff() {
    if (!something) {
        return false;
    }
}