I'm mapping an array of two-tuples from one domain (dates) to another (timestamps). Unfortunately, it looks like jQuery.map
auto-flattens the two-tuples I return, and I don't see a do_not_flatten
parameter.
Am I missing something else in the library that won't auto-flatten?
Addendum: I assume that I shouldn't be using Array.map
, which does not auto-flatten, because it is JavaScript 1.6. As I understand it, jQuery is supposed to abstract away the JavaScript version I'm running for compatibility reasons.