Skip to content

TimAConner/NSS-Node101-Practice

Repository files navigation

NSS-Node101-Practice

Motivation

This is basic Node.js practice done while attending the Nashville Software School.

List of Exercises

Asynchronous File System Practice

Practice using asynchronous functions to read from a file of words.

  1. dictionarySeaercher.js
  2. limit_to_ten.js

asynchronousFileSystem.js Asynchronous File System Practice

Practice using asynchronous reading of file system.

synchronousFileSystem.js Synchronous File System Practice

Practice using synchronous reading of file system.

Cheer.js Exercise #1 Requirements

Create a file called `cheer.js` that performs a cheer, using a named passed to it. Use as many of these as you can, even if the code you write isn't as compact or 'efficient' as you would like. This is more about trying out some ES6 than being succinct.

1. const and/or let
1. Object literal shorthand
1. Destructuring assignments
1. Fat arrow function(s)
1. Spread operator
1. Template literals  

Execute the file by typing `node cheer.js` inside the file's directory.  

Expected:  

```bash
$ node cheer.js
Give me a J!
Give me an O!
Give me an H!
Give me an N!
Give me a D!
Give me an O!
Give me an E!
What does that spell?
JOHN DOE!
```
Note: the 'a' vs. 'an'

#### Bonus

-   Delay each line by 1 second

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors