Giter Site home page Giter Site logo

michaelserna / ctci-6th-edition-javascript-es2015 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from careercup/ctci-6th-edition-javascript-es2015

0.0 2.0 0.0 59 KB

Cracking the Coding Interview 6th Ed. JavaScript ES2015 Solutions

JavaScript 100.00%

ctci-6th-edition-javascript-es2015's Introduction

JavaScript ES2015 solutions to Cracking the Coding Interview

These are solutions and associated unit tests for the questions in Cracking the Coding Interview 6th edition using JavaScript ES2015 features. These solutions specifically take advantage of ES2015 enhancements to the JavaScript language and require the latest Node.js (>= v5.0.0) to work properly. As not all ES2015 features are available in V8 yet babel is being used to fill in the gaps (at this point only the ES2015 module syntax is being transpiled by babel).

Setup the project

Once downloaded ensure that Node.js is installed and run the following commands in this directory:

npm install

Running unit tests

The solutions are demonstrated by a set of unit tests which use the Mocha unit test framework and Chai as an assertions library. These tests can be executed at any time with:

npm test

As part of the unit tests ESLint will also be run against all files to ensure that the JavaScript is valid and follows best practice.

Linting source code

While executing ESLint by itself is not necessary (as it runs as part of the unit test execution) you can choose to run it with:

npm run lint

Dependencies

This implementation of the solutions requires the following dependencies:

  • Node.js >= v5.0.0
  • npm >= v3
  • Mocha (installed via npm)
  • Chai (installed via npm)
  • Babel (installed via npm)

ctci-6th-edition-javascript-es2015's People

Contributors

diadical avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.