Skip to content

codefellows-javascript-401d13/01-modular_patterns_and_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

CF Lab 01: Node Ecosystem & Modular Patterns

To Submit this Assignment

  • Fork this repository
  • Write all of your code in a directory named lab- + <your name> e.g. lab-brian
  • Push to your repository
  • Submit a pull request to this repository
  • Submit a link to your PR in canvas
  • Write a question and observation on canvas

Description:

This assignment will have you create a simple Javascript object that will be exported using the module pattern that we went over in class.

Your object should have a function named greet that takes a name as a parameter and returns the string hello ${name}.

You should have at least one test that verifies the output of the function.

Your submission should be a link to your pull request.

Bonus:

For an extra point, create a command line utility that will be run using node greet.js some name and will pass the input contained in that argument to the greet function and output the result to the screen.

About

Lab 01 - Modular Patterns and Testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published