Changing show( ) to console.log( ) in the codes for exercise 4.6