TableUtils (Javascript array methods)

TableUtils

download:

TableUtils is a simple module that I created for fun, the point of the module was to recreate some of the array methods in javascript (and some custom ones). This module currently features these methods:

Methods
  • unshift
  • splice
  • reverse
  • count
  • filter
  • flat
  • includes
  • join
  • lastIndexOf
  • map
  • shift
  • slice
  • some

I won’t be going into depth documenting this module as the functions act basically the same as the functions mentioned in the Mozilla Web Docs (The only main difference is that the first parameter of the functions is always the table that is being acted upon):

If you have any specific questions feel free to ask, I’ll try my best to respond quickly.
If you have any requests for methods to add, feel free to ask here.

1 Like