This project is archived and is in readonly mode.

#406 ✓wontfix
Daniel Steigerwald

Array find method

Reported by Daniel Steigerwald | October 6th, 2008 @ 02:57 PM | in 2.0 (closed)

Useful little brother for filter and some methods.

find: function(fn, bind) {
	for (var i = 0, l = this.length; i < l; i++) {
		if (, this[i], i, this)) return this[i];
	return null;

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins