Javascript

JavaScript let var const

Assign Variables, Global Variables and Scopes in JavaScript (let, var, const)

let, var, and const are all JavaScript statements that assign a value to a variable. Their behavior can differ depending on how and where they are used in your code – read on to find out the details. Scopes in JavaScript As you start to build more complex applications, you’ll start… Read More »Assign Variables, Global Variables and Scopes in JavaScript (let, var, const)

Javascript String includes

Javascript String includes() Method – Check if a String Contains Another String

Here’s a guide on checking whether a string contains another string in the JavaScript programming language using the includes() method. includes() Syntax string.includes(search, start) Note that: string should be a string value or variable search should be the string you are checking for start is the index (position) you… Read More »Javascript String includes() Method – Check if a String Contains Another String

JavaScript toLowerCase

Using JavaScript ‘toLowerCase()’ String Method [with Examples]

Want to make a string all lower case in JavaScript? It’s the toLowerCase() method to the rescue! The toLowerCase() method is part of the string object and has full support in all browsers. In JavaScript, strings can either be a primitive or an object – primitives are the most basic kinds of variables,… Read More »Using JavaScript ‘toLowerCase()’ String Method [with Examples]