Javascript Array first(func)
Home
Javascript
Javascript Basic
Array Extension
Menu
Javascript
Javascript Basic
Javascript Basics
Array
Array Extension
Class
Data Types
Date
Date Extension
Function
Generator
Iterator
Json
Language
Math
Math Extension
Number Extension
Object
Object Extension
Operators
Promise
Regular Expressions
Set
Statements
String
String Extension
Javascript Browser
BOM
DOM
Storage
Javascript Usage
Algorithm
Data Structure
Interview Question
Description
Javascript Array first(func)
Copy
Array
.
prototype
.first =
function
(func) {
return
this.where(func)[0]; };
Previous
Next
Related
Javascript Array first(criteria)
Javascript Array first(defaultValue)
Javascript Array first(fn)
Javascript Array first(matching)
Javascript Array first(n)