Projects
Issues
Help
Career
Explore
Courses
Classes
Statistics
Jobs
People
Login
Advanced JavaScript Training
Introduction To JavaScript
JavaScript is a versatile and widely used programming language primarily known for its role in web development.
What is JavaScript?
Why Use JavaScript?
Basic Syntax and Data Types
Variables and Data Manipulation
Functions and Control Flow
JavaScript Teaching Videos
Video 1 DOM
Video 2 Arrays
Video 3 Multi Dimensional Array
Video 4 - Sorting
Video 5 - Error Handling
Document Object Model (DOM) Manipulation
Document Object Model (DOM) is a crucial concept. It represents the structure and content of a web page as a tree-like structure of objects, enabling dynamic interaction with web documents.
What is DOM?
Selecting and Manipulating DOM Elements
Traversing the DOM
Attribute Manipulation
Changing Content and Attributes
Class List
Adding and Removing Elements
Cloning Nodes
Event Handling and Listeners
Event Handlers vs. Event Listeners
Introduction to arrays in JavaScript
In JavaScript, an array is a data structure used to store a collection of values
Creating and Initializing Arrays
Accessing Array Element
Modifying Arrays
Iterating Through Arrays
Common Array Methods
Multi-Dimensional Arrays
Sorting Algorithms
Sorting is a fundamental operation in computer science and is used in a wide range of applications.
Introduction to Sorting Algorithms
Bubble Sort
Selection Sort
Insertion Sort
Quick Sort
Merge Sort
Array.Sort( )
Working with Objects and JSON
In JavaScript, objects are a fundamental data structure used to represent and manipulate data
Introduction to objects in JavaScript
Creating and Manipulating Objects
Adding Properties and Methods
Introduction to JSON
JSON Structure
Converting to JSON
Parsing JSON
Accessing JSON
Asynchronous Programming and Error Handling
Asynchronous programming allows tasks to run independently without blocking the main execution thread.
The Importance of Asynchronous Programming
Callback Functions
Promises and async/await
Introduction to async/await & try–catch statement
Best Practices and Tips
Maintaining consistent coding conventions is essential for writing clean and maintainable JavaScript code.
JavaScript Coding Conventions
Debugging Tools and Techniques
Debugger
Resources and Further Learning
This Chapter Includes recommended books and courses.Communities and Forums for Java Developers
Recommended Books, Websites, and Courses
Communities and Forums for JavaScript Developers
Not Available for Preview
This lesson is not available for preview. Please join the course to access it.
All Courses
Advanced JavaScript Training
Array.Sort( )
Array.Sort( )
Jothi and Arunkumar
Jan 2, 2024
Array.Sort( )
JavaScript provides a built-in Array.prototype.sort() method.
It sorts elements by converting them into strings and comparing their sequences of UTF-16 code unit values.
const numbers = [5, 2, 1, 3, 4]; numbers.sort((a, b) => a - b);
Previous Lesson
Next Lesson
Ask a Question
×
Have a doubt?
Post it here, our mentors will help you out.
Login