Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

toCSV(object, propertyName, useQuotes)

Creates a csv of the array.
example toCSV({{array}},name,'), would take an array of object and use the name property with single quotes to create a csv.

toJSON(object)

Runs JSON.stringify(object) on the object.
Good to use in cases where you get an output like [object Object],[object Object]