Skip to main content

2 docs tagged with "ECMAScript 1"

View All Tags

Ternary Operator in JavaScript

What is the ternary operator in JavaScript? Learn about the ternary operator, its syntax, and how to use it to write concise conditional expressions in JavaScript.

Type Operator in JavaScript

What is the type operator in JavaScript? Learn about the type operator, its syntax, and how to use it to check the data type of a value or variable in JavaScript.