- The function returns a simple greeting with the name parameter. e.g. "Hello, Elizabeth"
- If the name parameter is null, the function returns "Hello there!"
- If the name parameter is ALL CAPS, the function returns "HELLO [NAME]!"
- If an array of two names is inputted as the parameter, the function returns "Hello, name[0], name[1]"
- If an array of multiple name is inputted as the parameter, the function returns "Hello, name[0], name[1]..., name[n]
-
Notifications
You must be signed in to change notification settings - Fork 0
LauraPatterson/greet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple greeting unit tests using Jest
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published