Javascript Array top()
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
top()
Copy
Array
.
prototype
.
top
=
function
() {
return
this[this.
length
-1]; };
Previous
Next
Related
Javascript Array toObject()
Javascript Array toObject(projection)
Javascript Array toOneThousand()
Javascript Array toRealignedArray()
Javascript Array toSentence()