Javascript Array take(c)
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 take(c)
Copy
Array
.
prototype
.take =
function
(c) {
return
this.slice(0, c); };
Previous
Next
Related
Javascript Array swapAt(index1, index2)
Javascript Array switch(a, b)
Javascript Array tail()
Javascript Array take(length)
Javascript Array take(n)