Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JavaScript Program for Addition #39

Closed
wants to merge 4 commits into from

Conversation

codez-bot[bot]
Copy link
Contributor

@codez-bot codez-bot bot commented Aug 19, 2023

Description

This PR introduces a new directory js_addition_program, which contains a simple JavaScript program that adds two numbers together. This program is implemented in the addition.js file. A basic test that logs the result to the console is included within the same file.

This addition is in response to Issue #38, although it is noted that this request is unrelated to the existing Python-based Snake game project.

Summary

  • Created a new directory js_addition_program
  • Added a new file addition.js in the js_addition_program directory
  • Implemented a add function in addition.js that takes two numbers as parameters and returns their sum
  • Included a basic test for the add function within the addition.js file

Note: The relevance of this addition to the main project may need to be clarified with the issue creator, as this JavaScript program does not align with the current Python-based Snake game project.

Fixes #38.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/js-addition-program

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.

@codez-bot codez-bot bot added the hi hibox your software chores label Aug 19, 2023
@codez-bot codez-bot bot mentioned this pull request Aug 19, 2023
1 task
@femto
Copy link
Owner

femto commented Aug 19, 2023

hi:retry

@femto femto closed this Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hi hibox your software chores
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hi:
1 participant