ArraysArrays are collections of items. you can consider them as variables which can store more than one value. you can store different data types in arrays. they are similar to lists in python. arrays are stored inside square brackets, each value separated...3 min read·paarthmane.hashnode.devMar 10, 2023
StringsStrings are collections of characters. they are created to store and manipulate text. strings are stored inside of quotes. you can also store symbols and numbers inside strings. a string is a data type. Example: let jessePinkman= "yeah bitch!!" //dou...2 min read·paarthmane.hashnode.devFeb 22, 2023
Functionsfunctions are used to automate repetitive tasks. functions can only be executed when someone invokes it (calls it). you can use functions anywhere inside of code just like variables. Syntax: functions are declared by using the function keyword, follo...1 min read·paarthmane.hashnode.devFeb 21, 2023
LoopsIf you want to print "Hello World!" 1000 times how will you do it? maybe you'll type console.log("Hello World!") 1000 times or maybe you'll copy-paste it. but in javascript, there is an easy way to do this, which is loops. loops can execute blocks of...4 min read·paarthmane.hashnode.devFeb 20, 2023
Conditional StatementsSometimes you have to take actions based on the user's input or maybe you have to run a block of code based on conditions, in that case, we can use conditional statements. There are 4 types of conditional statements : if statement it is used to execu...2 min read·paarthmane.hashnode.devFeb 19, 2023