go back

Programista Frontend (AngularJS)

NovamediaCandidate = function(firstName, lastName, knownLanguages){

    var desiredSkills = ['php', 'python', 'angularjs'];

    this.begin = function(){
        var counter = 0;
        knownLanguages.forEach(function(value, key){
            if(desiredSkills.indexOf(value.toLowerCase()) != -1){
                counter++;
            }
        });

        if (counter > 0){
            output = "You are the one we are looking for. Welcome !";
        }else{
            output = "Leave your CV, and keep in touch with us. We will be waiting for you soon.";
        }
        return output;
    }

}
Are you the one we are looking for?