AnsweredAssumed Answered

pass variable number of arguments

Question asked by rogers on Jan 29, 2016

I'm wanting to use intersect() with an unknown number of arrays.  It seems to support this, but I don't know how to pass them to the intersect function.

As a test, I tried  var test=[1,2,3].intersect.apply(this,[[2,3,4,5],[3,8,7]])      but that fails with: uncaught typeError:  a.each is not a function.

Would appreciate any help on this.