Home
Javascript Fundamentals
# Javascript basics
# Javascript arrays
# Javascript objects
# Javascript dates
# Javascript Sets
Javascript DOM
# DOM selector methods
# Events and user interactions
# DOM manipulation
# DOM fundamentals
# Recursive functions
Challenge Rush
Random Challenge
// Write a function that takes an object with two properties as argument// It should return the value of the property with key country function myFunction ( obj ) { return }
return
myFunction({ continent: 'Asia', country: 'Japan'})
'Japan'
myFunction({ country: 'Sweden', continent: 'Europe'})
'Sweden'