JavaScript in Depth
JS: Check Property Existence
By Xah Lee. Date:
2013-11-19
. Last updated:
2025-05-09
.
Check if a object has own property
JS: Object.hasOwn
JS: Object.prototype.hasOwnProperty 👎
Check if a property is in prototype chain
JS: Reflect.has
JS: in (operator) 👎
JavaScript. Property
JS: Property Overview
JS: Order of Properties
JS: Property Key
JS: Property Dot Notation vs Bracket Notation
JS: Create Property
JS: Delete Property
JS: Get Set Property
JS: Check Property Existence
JS: Access Property
JS: List Properties
JS: for-in Loop 👎
JS: Enumerable Property
JS: Property Attributes
JS: Property Descriptor
JS: Getter Setter Property (accessor)
JS: Getter Setter Attributes
Webdev Search 🔍
JavaScript in Depth
Basics
Filename Extension
Run JavaScript
Comment
Print
Value Types
Quote String
Number
Math Operators
Assignment
Boolean
Test Equality
Conditional
Loop
Array basics
Object basics
Function basics
In-depth
Variable
String
Property
Object
Array
Function
Class
Iterable
Module
Try Catch Throw
Regex
ECMAScript News
Obj Ref
JS Object Reference
Misc index
Misc. Index