Skip to content

HR40-Precourse/context-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

context-binding

Here's an example of an Animal class.

An animal instance is created when you call the Animal constructor passing in a string that represents the sound that an animal makes. The sayHello method console logs the animal's sound.

setTimeout has been called 6 different ways at the bottom of the file. The intention is for "meow" to be logged to the console 3 seconds after the code is run.

Which invocations work as expected and which do not? Why?

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors