Skip to content

Web-Dev-Speedrunners/js-4-n00bs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-4-n00bs

JS For Dummies

Meta

Build Check

Node.js CI

Quick Start

  1. Install dependencies: yarn install

Running a file

yarn run file <filename> Example: yarn run file src/filter.js

Testing

How to run test

  • Run all tests: yarn run test
  • Run a single file: yarn run test <filename>

How to test

Take a look at src/array.test.js

How to Add Custom method

  1. Navigate to the appropriate file in src/Array/<filename>
  2. Modify the file to include the appropriate function

Example with src/Array/filter.js

Array.prototype.myFilter = function(filterFn) {
  return this.filter(filterFn)
}

About

Assignment #2 : Js internals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •