Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 721 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 721 Bytes

Javascript Classes

NodeJs Server

Install Node serve for running your javascript code from this url

https://nodejs.org/en/download/

Accessing the js file in a folder

Open your terminal and type the cd command followed by the name of the folder your want to access e.g

cd BigO-Notation or cd javascript-syntax

To list the files in the folder

If you wish to list all the files in the folder use the following command in your terminal

ls

Run Js Files

You can run your javascript file by starting with the node followed by the name of your file e.g

node conditions.js

To exit a folder

If you wish to return to the root folder use the following command

cd ..