My Blog

My WordPress Blog

My Blog

My WordPress Blog

5. JavaScript Objects

Tempate Literals

JavaScript Tempate Literals In JavaScript, the template literals are introduced in ES6 to customize the string dynamically. The template literals allow you to add variables or expressions into the string, and the string changes according to the variables and expression value changes. There are multiple synonyms words used for the template literal words. For example, template string, […]

Sets

A JavaScript Set object is a collection of unique values. Each value can only occur once in a Set. A Set can hold any value of any data type. The sets are introduced to JavaScript in ECMAScript 6 (ES6). JavaScript Sets are similar to Arrays, but there are some key differences: JavaScript Sets are often used to store unique […]

Regular Expressions and RegExp Object

A regular expression (RegExp) in JavaScript is an object that describes a pattern of characters. It can contain the alphabetical, numeric, and special characters. Also, the regular expression pattern can have single or multiple characters. The JavaScript RegExp class represents regular expressions, and both String and RegExp define methods that use regular expressions to perform powerful pattern-matching and search-and-replace functions on […]

Scroll to top