The "reduce" function is throwing an error
The "reduce" function is throwing an error

I'm trying to implement the Footer Callback to display totals on my Datatable using the example code listed in that topic.
I have the most recent version of the api loaded (DataTables 1.10.7).
The section that is giving me a problem is:
total = api
.column(4)
.data()
.reduce(function (a, b) {
return intVal(a) + intVal(b);
});
I can run this in the jsFiddle with no problems. However when I run it in my environment, I get "Object doesn't support this action." I have narrowed down the culprit to the .reduce() function.
Does anyone have a clue why this would not work in my local environment? Could there be a conflict with another library?
Answers
Never mind - I think I found the answer here:
http://www.datatables.net/forums/discussion/21637/getting-the-total-using-footercallback