Skip to content

Karah-Fisher/JavaScript-Exercise-6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

JavaScript-Exercise-6

Function basics exercise

Contributors: Karah, Zanda and Purrity

What It Does

For Exercise 6 - Function basics: We created:

  • A function called greet that takes a name parameter.

  • Made the greet function return "Hello, [name]!"

  • Created a function called add that takes two parameters.

  • Made the add function return the sum of both parameters.

  • Called both functions and stored their results in variables.

  • Printed the results to the console.

    How to Run

node functions.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors