Codewars, Welcome, Javascript Solution, Loop Through Object

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=I0yC5lvfNno



Duration: 4:12
1,292 views
13


In this javascript challenge we are given a database object and need to write a function which will take in an argument (language) and that function will search in the database object and see whether or not a key exists with the language that was passed in. If it is we must return welcome in that language, if not then it should by default say welcome in english.







Tags:
codewars javascript
codewars algorithms
search object
loop through object
javascript object