exercism fetch javascript zipper


Creating a zipper for a binary tree.

Zippers are a way purely functional of navigating within a data structure and manipulating it. They essentially contain a data structure and a pointer into that data structure (called the focus).

For example given a rose tree (where each node contains a value and a list of child nodes) a zipper might support these operations:

## Setup

Go through the setup instructions for JavaScript to install the necessary dependencies:


## Making the Test Suite Pass

Execute the tests with:

  jasmine <exercise-name>.spec.js

Replace <exercise-name> with the name of the current exercise. E.g., to test the Hello World exercise:

  jasmine hello-world.spec.js

All but the first test have been skipped.

Once you get a test passing, you can unskip the next one by changing xit to it.

## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.