pat310 / quick-pivot

Quickly format data to create a pivot table
https://www.npmjs.com/package/quick-pivot
MIT License
63 stars 21 forks source link

Maximum call stack size exceeded when attempting to pivot on a field that is not present in the data #12

Closed turnerniles closed 7 years ago

turnerniles commented 7 years ago

Maximum call stack size exceeded when attempting to pivot on a field that is not present in the data.

Example call (made in chrome console): pivot([["dog","bird","fish"],["lab","falcon","guppy"]],["cat"],[],"VALUE_USD","sum")

Result: Uncaught RangeError: Maximum call stack size exceeded

image