About
Reference
Integrations
API
Blog
About
Reference
Integrations
API
Blog
JavaScript Syntax Reference
Java
C
C++
C#
Python
Ruby
JavaScript
Swift
Go
Languages
User Program Communication
Console Output
Commenting
Read from Text File
Variables
Variable Declaration
Global Variables
Arrays
Determine Type
Control Flow
If Statement
Switch Case
Ternary Operator
For Loop
For Each
While Loop
Do-While Loop
Try Catch Block
Functions
Function Declaration
Anonymous Functions
Closures
Function Assignment
Objects
Object Declaration
Methods
Create Object using Constructor
Constructor
Categories
Language
JavaScript
Java
C
C++
C#
Python
Ruby
JavaScript
Swift
Go
Version: 1.8.5
Categories
User Program Communication
Console Output
Commenting
Read from Text File
Variables
Variable Declaration
Global Variables
Arrays
Determine Type
Control Flow
If Statement
Switch Case
Ternary Operator
For Loop
For Each
While Loop
Do-While Loop
Try Catch Block
Functions
Function Declaration
Anonymous Functions
Closures
Function Assignment
Objects
Object Declaration
Methods
Create Object using Constructor
Constructor
Search Results
Searching for:
HashMaps in JavaScript
Object Declaration
Language: JavaScript
Used to declare an object, which contains key-value pairs.