Search Results
Searching for: Sets in JavaScript
Constructor
Language: JavaScript
A constructor is a function used as a prototype for an object, and when called, create a new object instance from the prototype.
Ternary Operator
Language: JavaScript
The ternary operator is used to execute code based on the result of a binary condition. It takes in a binary condition as input, which makes it similar to an 'if-else' control flow block. It also, however, returns a value, behaving similar to a method.
Create Object using Constructor
Language: JavaScript
Used to create a new object using a constructor.