Adds given object to end of list
Removes last object from list
Removes the first object from list and returns it's value
Adds given object(s) to beginning of list and returns length of list
Executes given function on each object in list
let x = new Vehicle('3 Wheel Vehicle', 3)
Vehicle that always has 2 wheels
Vehicle that always has 2 wheels
-
How do you run tests?
npm test
-
Assertions for list
- push(item) method
- pop() method
- shift() method
- unshift(item) method
- forEach(function) method
-
Assertions for object
- Vehicle Object
- Car object, extention of Vehicle
- Motorcycle object, extention of Vehicle