Skip to content

Latest commit

History

History
66 lines (45 loc) · 1.72 KB

File metadata and controls

66 lines (45 loc) · 1.72 KB

array-methods-testing

This repository is about "recreating" array methods, and test them with jstinytest testing library.

Array Methods Testing

This project is about "recreating" array methods, and test them with jstinytest testing library. Creating step by step with simple testing cases most of the array methods. All the testing cases are made with Tiniest JavaScript unit testing library. Array Methods

Iterators:

  • Array.prototype.forEach()
  • Array.prototype.filter()
  • Array.prototype.map()
  • Array.prototype.reduce()
  • Array.prototype.find()
  • Array.prototype.findIndex()
  • Array.prototype.every()
  • Array.prototype.some()
  • Array.prototype.reduceRight()

Accessors:

  • Array.prototype.concat()
  • Array.prototype.indexOf()
  • Array.prototype.lastIndexOf()
  • Array.prototype.includes()
  • Array.prototype.slice()
  • Array.prototype.join()

Mutators

  • Array.prototype.push()
  • Array.prototype.pop()
  • Array.prototype.shift()
  • Array.prototype.unshift()
  • Array.prototype.fill()
  • [a] Array.prototype.reverse()
  • Array.prototype.copyWithin()
  • Array.prototype.sort()
  • Array.prototype.splice()

Getting Started

Download the file and just open each array method file in your browser.

Prerequisites

You dont need any !

Built With

Authors

  • Andreas Chris - Initial work -

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Gordon Zhu for being excelent teacher and inspiration.
  • watchandcode.com