@@ -80,10 +80,10 @@ let dog = {
8080 cute:  true 
8181};
8282
83- dog .hasOwnProperty (' ugly' //  false
84- dog .hasOwnProperty (' cute' //  true
85- dog .hasOwnProperty (' toString' //  false
86- Object .prototype .hasOwnProperty (' toString' //  true
83+ dog .hasOwnProperty (` ugly` //  false
84+ dog .hasOwnProperty (` cute` //  true
85+ dog .hasOwnProperty (` toString` //  false
86+ Object .prototype .hasOwnProperty (` toString` //  true
8787```` 
8888
8989^ toString is another of the five base methods.
@@ -106,14 +106,14 @@ let dog = {
106106 vaccinated:  true 
107107};
108108
109- Object .defineProperty (dog, ' name' 
110-  value:  ' Spot' 
109+ Object .defineProperty (dog, ` name` 
110+  value:  ` Spot` 
111111 enumerable:  false 
112112});
113113
114- dog .propertyIsEnumerable (' adoptable' //  true
115- dog .propertyIsEnumerable (' vaccinated' //  true
116- dog .propertyIsEnumerable (' name' //  false
114+ dog .propertyIsEnumerable (` adoptable` //  true
115+ dog .propertyIsEnumerable (` vaccinated` //  true
116+ dog .propertyIsEnumerable (` name` //  false
117117
118118console .log (' Please adopt ' +  dog .name  +  ' . He’s...' 
119119
@@ -182,16 +182,16 @@ dog.toString(); // [object Object]
182182
183183//  Over-ride the inherited toString method in the prototype
184184dog .toString  =  function  () {
185-  let  output =  ' This dog is ' 
185+  let  output =  ` This dog is ` 
186186
187-  output +=  ((this .adoptable ) ?  ' adoptable ' :  ' not adoptable ' 
188-  output +=  ((this .vaccinated )?  ' and vaccinated.' :  ' and not vaccinated.' 
187+  output +=  ((this .adoptable ) ?  ` adoptable ` :  ` not adoptable ` 
188+  output +=  ((this .vaccinated )?  ` and vaccinated.` :  ` and not vaccinated.` 
189189
190190 return  output;
191191};
192192
193193dog .toString (); //  This dog is adoptable and not vaccinated.
194- dog .hasOwnProperty (' toString' //  true, because toString shadows the inherited prototype method for toString
194+ dog .hasOwnProperty (` toString` //  true, because toString shadows the inherited prototype method for toString
195195```` 
196196
197197--- 
0 commit comments