Core Code
Modern Dev Handbook
☰
JAVASCRIPT Contents
✕
Basic JavaScript
JS Tutorial
JS Syntax
JS Variables
JS Operators
JS If Conditions
JS Loops
JS Strings
JS Numbers
JS Functions
JS Objects
JS Scope
JS Dates
JS Temporal Dates
JS Arrays
JS Sets
JS Maps
JS Iterations
JS Math
JS RegExp
JS Data Types
JS Errors
JS Debugging
JS Conventions
JS References
JS ECMAScript 2026
JS Versions
JS HTML
JS HTML DOM
JS Events
JS Projects
JS Advanced
JS Functions
JS Objects
JS Classes
JS Asynchronous
JS Modules
JS Meta & Proxy
JS Typed Arrays
JS DOM Navigation
JS Windows
JS Web APIs
JS AJAX
JS JSON
JS jQuery
JS Graphics
Why JavaScript Needs Type Safety
JavaScript
→
JS Arrays
Remove Item with Pop
Remove the last element from an array.
Preview
Code
<script> let fruits = ["Apple","Banana","Orange"]; fruits.pop(); console.log(fruits); </script>
More JS Arrays Examples (7)
JavaScript Array Example
Access Array Element
Array Length Property
Add Item with Push
Loop Through Array
Array forEach Method
Array Map Method
← Add Item with Push
Loop Through Array →