Skip to content

FreemanWisdom/JS-Fundamentals

Repository files navigation

JS-Fundamentals

This repository contains solutions to basic JavaScript exercises.
The goal is to practice Node.js fundamentals such as variables, printing, arguments, loops, and functions.


📂 Files and Descriptions

File Description
0-javascript_is_amazing.js Prints “JavaScript is amazing” using a constant variable
1-multi_languages.js Prints 3 lines: “C is fun”, “Python is cool”, “JavaScript is amazing”
2-arguments.js Prints a message depending on the number of arguments passed
3-value_argument.js Prints the first argument passed to the script or “No argument”
4-concat.js Prints two arguments in the format: <arg1> is <arg2>
5-to_integer.js Converts the first argument to an integer, prints “My number: ” or “Not a number”
6-multi_languages_loop.js Prints 3 lines using an array and a loop
7-multi_c.js Prints “C is fun” x times, where x is the first argument
8-square.js Prints a square of X of size given by the first argument
9-add.js Prints the addition of two integers using a function add(a, b)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published