http://d.puremagic.com/issues/show_bug.cgi?id=3888



--- Comment #2 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-16 16:10:04 
PST ---
I'd argue it would be nice to have both a function that returns before and one
that returns both before and after, but you could also argue that it would be
simpler just to have the one which returned both. Still, ideally, I'd think
that you'd want both - especially when trying to use findBefore() (or whatever
you'd call it) in the middle of an expression.

Regardless, however, a function like bisect() (or whatever it would be called)
probably should be added. I tend to be forced to use indexOf() in that sort of
situation, which doesn't tend to work as well - except perhaps when dealing
with arrays.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to