Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sinjaz/js

Practical examples of JavaScript basics including OOP, inheritance, promises, closures, generators, coroutines and more...
https://github.com/sinjaz/js

basics closure composition inheritance javascripts js object oop orientation promises

Last synced: about 2 months ago
JSON representation

Practical examples of JavaScript basics including OOP, inheritance, promises, closures, generators, coroutines and more...

Awesome Lists containing this project

README

        

# JavaScript Code Samples

### 1. Do you have Node installed?
Check if you have node:
```
node -v
```
If it displays the version like this:
```
$ node -v
v7.5.0
```
Then you're fine. That means you have Node.
If not, download from `https://nodejs.org/en/` and install.

### 2. Go into a directory
```
cd ONE_OF_THE_DIRECTORIES
```
for example:
```
cd promises
```

### 3. Run using node
```
node index.js
```