myscript.hashnode.devWhen and How to use return and console.log in JavaScript functionsIntroduction In JavaScript, functions are vital for effectively structuring, managing, and reusing code. To make the most of their capabilities, it's important to grasp two key statements frequently used within functions: return and console.log. Whil...Dec 1, 2024·8 min read
myscript.hashnode.devLoose Equality(==) and Strict Equality(===) operators in JavaScriptIntroduction It is essential to know how the equality process works in JavaScript to create a reliable and predictable script. Two basic operators used for comparing values are Loose Equality (==) Strict Equality (===) While most developers might...Nov 24, 2024·4 min read
myscript.hashnode.devvar, let, and const in JavaScriptIntroduction Declaring variables in JavaScript using different syntaxes allows you to store and manipulate data values throughout your code. There are three primary ways to declare variables: var, let, and const. Each of these has unique features reg...Nov 16, 2024·6 min read
myscript.hashnode.devPrimitive Data Types in JavaScriptIntroduction Primitive data types are the lowest level of data types available in any programming language and are not built on any other data types. JavaScript has basic types such as Number, String, Boolean, null, undefined, BigInt and Symbol. The ...Nov 12, 2024·3 min read