#Javascript tests sampler
###Summary:
Excercise solutions for assigned homework. Includes a browser based TDD/BDD test-runner with Mocha, Chai & Sinon.JS.
###Contents:
- js/intersect.js:
array_intersect(a, b)
- Intersect two arrays, removing from A all items present in B. - js/permute.js:
permuteChildren(parent)
- Given an html node, clean it up of non-element childnodes and shuffle its first level children.
###Test Runner:
Open index.html
to automatically run all provided tests.