Debug JavaScript in Google Chrome’s (Foor Loop)

Опубликовано: 21 Октябрь 2024
на канале: BackCoding
273
10

#BackCoding

Chrome inspect-One of the easiest ways to inspect a specific web element in Chrome is to simply right-click on that particular element and select the Inspect option. Clicking on the Inspect option from the right-click menu will directly open the Developer tools including the editor, Console, Sources, and other tools

For Loop:-Loops can execute a block of code a number of times.

The for statement creates a loop with 3 optional expressions:

for (expression 1; expression 2; expression 3) {
// code block to be executed
}
Expression 1 is executed (one time) before the execution of the code block.

Expression 2 defines the condition for executing the code block.

Expression 3 is executed (every time) after the code block has been executed



#programming
#chrome