Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Features of JavaScript: - Coggle Diagram
Programming Features of JavaScript:
Data Types
Primitive Data Types: number, string, boolean, null, undefined
Object Data Type: objects, arrays
Variables and Constants
Declaration and Initialization: let, const, var
Variable Scope: global scope, function scope, block scope
Control Structures
Conditional Statements: if-else, switch
Looping Statements: for, while, do-while
Iteration and Iterables: iterating over arrays, objects
Functions
Function Declaration and Definition: function functionName(parameters)
Function Parameters: default parameters, rest parameters
Arrow Functions: concise function syntax
Arrays and Objects
Array Manipulation: accessing elements, adding and removing elements
Object Manipulation: object literals, key-value pairs
Strings and String Manipulation
String Creation and Manipulation: string concatenation, string methods
Template Literals: string interpolation
Input and Output Operations
Standard Output: console.log
Alert Boxes: alert, prompt, confirm
Exception Handling
Try-catch Blocks: try, catch, finally
Error Types: specific error types, catch-all error
Object-Oriented Programming
Objects and Classes: object creation, property access
Prototypes and Inheritance: prototype chain, extending objects
Constructors: creating objects with constructors
Modules and Imports
Module Creation and Export: export keyword, named exports
Module Import: import keyword, named imports
DOM Manipulation
Accessing Elements: document.getElementById, document.querySelector
Modifying Elements: innerHTML, style property
Event Handling: addEventListener
Asynchronous JavaScript
Callback Functions: handling asynchronous operations
Promises: asynchronous operations with promises
Async/Await: asynchronous operations with async/await syntax
JSON Manipulation
JSON Parsing: JSON.parse
JSON Stringification: JSON.stringify
Regular Expressions
Pattern Matching: searching patterns in strings
RegExp Object: regular expression methods