Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)

Category: JavaScript Statements

1SMARTchicken - Code Made Easy

Category: JavaScript Statements

  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Category: JavaScript Statements

  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
  • Home
  • Reference
  • JavaScript Reference
  • JavaScript Statements
JavaScript Reference

JavaScript – break Statement

August 1, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Statement, Loop

The break statement stops code execution within the switch, and also breaks out of a loop, continuing to execute code that comes after the loop.

JavaScript Reference

JavaScript – class Statement

August 1, 2024 / JavaScript Reference, JavaScript Statements, Reference / Class, JS Statement

The class statement initiates a class with properties and methods assigned in the constructor() method.

JavaScript Reference

JavaScript – const Statement

August 1, 2024 / JavaScript Reference, JavaScript Statements, Reference / JS Statement, Variable

The const statement declares a variable (container for storing information) with an immediately defined value that will not change.

JavaScript Reference

JavaScript – continue Statement

August 1, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Statement, Loop

The continue statement breaks an iteration in the loop, if a specified condition occurs, and then continues with the next iteration in the loop.

JavaScript Reference

JavaScript – debugger Statement

August 1, 2024 / JavaScript Reference, JavaScript Statements, Reference / Error, JS Statement

The debugger statement stops the execution of a script and calls the debugger. If debugging is unavailable, the statement has no effect.

JavaScript Reference

JavaScript – do…while Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Loop, JS Statement, Loop

The do…while statement defines a code block to be executed at least once, and repeated as long as a condition is true.

JavaScript Reference

JavaScript – for Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Loop, JS Statement, Loop

The for statement defines a block of code to be executed as long as a specified condition is true.

JavaScript Reference

JavaScript – for…in Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Loop, JS Statement, Loop

The for…in statement loops over the properties of an object, executing a block of code inside the loop once for each item found.

JavaScript Reference

JavaScript – for…of Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Loop, JS Statement, Loop

The for…of statement loops over the values of any iterable, executing a block of code inside the loop once for each item found.

JavaScript Reference

JavaScript – function Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / JS Statement

The function statement declares a function to be executed later, when it is called. Functions are objects, and have both properties and methods.

JavaScript Reference

JavaScript – if…else Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Statement

The if…else statement executes a block of code if a specified condition is true, and optionally, another block of code if false.

JavaScript Reference

JavaScript – let Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / JS Statement, Variable

The let statement declares a variable (container for storing information), and can be empty when declared, with the value assigned later.

JavaScript Reference

JavaScript – switch Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Statement

The switch statement executes different blocks of code depending on set conditions, and uses the break keyword to break out of the switch block.

JavaScript Reference

JavaScript – throw Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Error, JS Statement

The throw statement allows you to generate a custom error (throw an exception), which can be a String, a Number, a Boolean, or an Object.

JavaScript Reference

JavaScript – try…catch…finally Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Error, JS Statement

The try…catch…finally statement handles errors without stopping JavaScript to output the error.

JavaScript Reference

JavaScript – var Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / JS Statement, Variable

The var statement declares a variable (container for storing information), and can be empty when declared, with the value assigned later.

JavaScript Reference

JavaScript – while Statement

August 2, 2024 / JavaScript Reference, JavaScript Statements, Reference / Conditional, JS Loop, JS Statement, Loop

The while statement defines a code block to be executed for as long as a condition is true.

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (72)
    • Python File Handling (4)
    • Python and MySQL (4)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.