Javascript String last()
Home
Javascript
Javascript Basic
String 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 String
last()
Copy
String
.
prototype
.last =
function
() {
return
this[this.
length
-1]; };
Previous
Next
Related
Javascript String jumble()
Javascript String keyslug()
Javascript String kgEscapeHtml()
Javascript String lastChar(new_char)
Javascript String lastIndexOf(c, lim=this.length)