// Objects with animals

anyObject = {

weight : 23 ,

sound : 'woof' ,

name : 'Alex'

}

makeSound ( anyObject )

function makeSound ( options ) {

var species = options . species || 'animal' ; // In the case options.species is undefined, assign a generic 'animal' to it.

var sound = options . sound ;

console . log ( 'The ' + species + ' says ' + sound + '!' ) ; // returns "The animal says woof!"