Complete JavaScript Course in 1 Video 2024

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

4:21:59
The find() method returns the first element in an array that satisfies a provided condition. If no element matches, it returns undefined.

Example:

const arr = [5, 12, 8, 130, 44];
const found = arr.find(num => num > 10);
console.log(found); // 12 as a output 😊

pawank.guptapawan
Автор

7:14:09
outerHTML gets or sets the entire HTML element, including its tags and content. It's used to replace, get, or remove an element along with its contents.
Eg....
element.outerHTML = '<p>New Element</p>';

pawank.guptapawan
Автор

6:43:26 dom manipulate

9:14:35 event loop
9:39:49 promise
10:04:40 await
10:43:58 closure

Dignifiedsan
Автор

4:20:59 arr.sort() without comparision function treated the elements as strings and sort in lexicographical order (dictionary order).
// these are the correct method to sorting of a number in decending or accending order with comparision funciton.
accending order: arr.sort((a, b) => a-b);
decending order: arr.sort((a, b) => b-a);

alexchandan
Автор

TYSM !! I just wanted to take a moment to express my gratitude for the video on JavaScript that you shared. It was incredibly helpful, and we really needed it for our project. Your efforts in putting it together are greatly appreciated!

sumitgurjar
Автор

Yeah After Learning JavaScript From 4-5 Another YouTube Channels Now I Reach Here And Learn JavaScript 😂

harshalchavan
Автор

Iss course se javascript revision bahut hi acche level pe ho jaayga❤❤❤❤

amarjeetsingh
Автор

The Symbol Type

A JavaScript Symbol is a primitive data type just like Number, String, or Boolean. It represents a unique "hidden" identifier that no other code can accidentally access.

jeevankumarsingh
Автор

You are best teacher of programming era💓💓

SAHILKUMARCHUNARA
Автор

55:38


Ques: What is Symbol Datatype?
Ans-> Symbols are used to create unique property keys in objects to avoid naming conflicts between properties.
Example:-
const mark=Symbol('studentMark');
let student={
name: 'Mansi Thakur',
age:18,
[mark]:95
};
console.log(student[mark]); // Output: 95
console.log(student['mark']); // Output: undefined
Bhaiya smjh mei aa gya jo app pda rhe hai.

MansiThakur-oshl
Автор

JavaScript just got easier, thanks to you, Babbar Sir! Keep inspiring! 🙏🏾

abhishekmishra
Автор

Sir even though i watch js on various places i will watch this one and one request to make one shot of CN, SEand AI, ML as they are core to computer engineering as you thought os and dbms

premprakashgupta
Автор

4:22:00 find method:-
let arr=[12, 34, 45, , 67, 78];
//return first occurence
output:-67;

undrrtd
Автор

56:20 Symbols

The JavaScript Symbol is a primitive data type, just like Number, String, Boolean, etc. It represents a unique identifier and can be used in various ways. Symbols are used to create object properties, for example, when you want to assign a unique identifier to an object. They can also be used as a way to create private properties in objects, as they are not enumerable. In addition, Symbols can be used to create unique constants, which are useful when creating APIs. Symbols are created using the Symbol() function. The function takes an optional string parameter, which can be used to give the Symbol a description. This description is useful for debugging purposes, as it can be used to identify the Symbol.

index.js

// Create a Symbol const mySymbol = Symbol(); console.log(mySymbol); // expected output: Symbol()

The Symbol() function also accepts an optional object parameter. This object can be used to create a global Symbol, which can be accessed from anywhere in the code. A global Symbol can be created by passing in an object with a 'global' property set to true.

index.js

// Create a global Symbol const myGlobalSymbol = Symbol('myGlobalSymbol', { global: true }); console.log(myGlobalSymbol); // expected output: Symbol(myGlobalSymbol)

Symbols can also be used to create constants, which are useful for creating APIs. Constants are created by passing in an object with a 'constant' property set to true.

index.js

// Create a constant const MY_CONSTANT = Symbol('MY_CONSTANT', { constant: true }); console.log(MY_CONSTANT); // expected output: Symbol(MY_CONSTANT)

Symbols can also be used as object keys. This is useful when you want to assign a unique identifier to an object.

index.js

const mySymbol = Symbol(); const myObject = { [mySymbol]: 'Hello World' }; // expected output: 'Hello World'

undrrtd
Автор

The Symbol is a primitive data type introduced in ES6 . It is used to create unique, immutable values that can be used as keys for object properties.

PRINCE-tsno
Автор

Like for Node js Express and MongoDB complete video

sarbpreetsingh
Автор

Best javascript course ! all in one video🎉.
Just like paid course .

pawank.guptapawan
Автор

bhaiya aapka OS aur DBMS ka playlist bhot shi laga.. pls Computer Networks bhi upload kar do to core subjects bhot maza aa jaayega fir

ParvMalhotra-tw
Автор

Symbol datatype is a unique and immutable primitive value introduced in JavaScript that is often used to create unique identifiers for object properties and also for managing potential conflicts in code.

PriyanshiKumari-xi
Автор

thanku sir bahut dino se smjh nhi aa rha tha kaha se kru js ko
html css apse prhke achha khasa knoledge gain kr liya pr js ka lecture nhi mil rha tha acha sa thanku thanku sir

lyricsbygulshan