I have been learning by watching your videos of HTML, CSS and Javascript for the last one week. Sir, I must say, your videos are like a precise answer to a good question. You are trying to clear each and every concept of a particular topic. I have seen so many RUclipsrs start their videos in a particular language but they end up their tutorial by making 10-15 videos which are not enough for any language. Your more than 90 videos of CSS and Javascript are very helpful. It's my request to you provide us the videos on Angular JS or Angular 2+, please.
Shruti yha jo Map function hai wo humesha ek array return karta hai ..... actually ye hum ki existing array par lagate hai aur usmein kuch modification kar ke ek naya array bana lete hai.... Magar forEach hume array return nahi karta hai ...usko toh hum array ki values ko print karne ke liye use karte hai.
Dear we are using MAP() function which means it works like LOOP and this loop run for every value of array. Array itself contains 3 objects so our loop run for 3 time and every time it runs the "x" means whole object comes in variable "x" and to print any object value we first use object variable and then its index name after using "." period like this : x.fname
For it is more interesting bcz my name is Karan and in every program Karan exist 😂. Very near to complete this Sir plz guide after this I want to learn REACTJS wat is the main extra thing I want to learn for starting before REACTJS course
jadhi hamare pass array hai ush ki number length 12 hai ush array ko 3 parts mai divide krke osh ke andhr ke numbers ko addition krna hai every time to eisey kaise solve krey
Uske liye aapko nested loop use karna padega. Outer loop ko 3 time chalana padega aur inner loop ko bhi 3 time chalana pedega. Inner loop ke andar hum array ki values ka addition karenge.
sir yha par apne X kyu liya hai hum variable b m kyu print nhi kiya new array ko or apne khi define bhi nhi kiya ki x ek variable hai. plz solve this confusion.
Hello Ankit, Mujhe lagta hai aapko "Function with Parameters" ka concept nahi pata hai. Pehle aap yeh video dekhiye : ruclips.net/video/L1AtWLNpwuQ/видео.html
!!!!!!!!!!!""""""sir plese ans my question?:::: you show us so many thing most of the things is unecessary and many thing it's not possible to remember... Why you do this kind of thing's ??? parentElement no you also show us parentNode... Why so extra ??? I am so frusteded and angry""""""""
@@YahooBaba Thank you for your answer... I'll try to learn as much as I can.. But what If I just make a living but not go to interview? I know it's irrelevent me to add another questtion but it's on my mind. thaks again for answering the question
I have been learning by watching your videos of HTML, CSS and Javascript for the last one week. Sir, I must say, your videos are like a precise answer to a good question. You are trying to clear each and every concept of a particular topic.
I have seen so many RUclipsrs start their videos in a particular language but they end up their tutorial by making 10-15 videos which are not enough for any language. Your more than 90 videos of CSS and Javascript are very helpful.
It's my request to you provide us the videos on Angular JS or Angular 2+, please.
Bhai job lagi
@@KaushalSingh-b6u haha that was same question in my head
Love you bhai mere. You always explain awsome yaar.
Thanks :)
All video Explain very good I learn this video in 2 week thanks yahoo Baba👍
Sir aap video bhut achhi bnate ho aaj nhi to kal aap k subscriber bd jaynge
Thanks Maeenu for ur Good Wishes.
Thank You so much baba. Nobody on youtube explained this easily. I wish my teachers could teach like you
Thanks for appreciating my work :)
Thank you so much sir, Jabarjast easy method se samjhaya he apne , hats of to you sir.
Thanks and Welcome :)
explained very easy way every videos, thanks lots
You are most welcome
world is best teacher in the world love from pakistan
you should learn english first 👍
very good content sir
Perfect Tutorials. Super Work Sir. Keep going on. Best of Luck
Thank you, I will
so beautiful discussion sir.......you are unique...reallllly.......salute from west bengal..
Thanks and welcome :)
thank you bohot axxe se samaj aaa gaya
till now watching from begining now i know yahoo baba has 2 brothers from another mother Rahul Kumar & Karan Sharma ❤️😂ty for the playlist sir 🙌🙏
Hahaha
Great work my bro it's help lots
Thnx. For your great content keep it up❤and thx. Also for adv.js topics
Tremendous Tutorial Sir
So grateful to YOU ❤
My pleasure
Hii
bahut accha bro.. keet it up
Thanks :)
Great video
Qs - Does Map() also accept array- index as the second parameter like forEach()?
Yes, index and original array these are the optional parameter we can use with map function
map method sy sirf calculations hee perform karwa sakty hyn ya kuch aur bhi?
Nice explanation
please a reactjs nextjs course you are the best of them all
shout out from pakistan
Sir, when we use these things in our designing part ?
Sets method ke bare main bhi thoda explain karo sir
Sir agar koi string array to kya use map method se change kar sakte hai
We can get a new string array using map n we can modify each element of array
thank you sir ❤
nice
😀😀
Thank you so much sir 😍
Most welcome
very nice tutorials sir
Thanks Aman :)
hi bro kindly make some projects using javascript
Yes sure
@@YahooBaba Thanks Bhai
Sir please make more videos on react.js
Super explain
Glad you liked it
Sir, forEach and map me kya difference hai wo samaj nahi aaya
Shruti yha jo Map function hai wo humesha ek array return karta hai ..... actually ye hum ki existing array par lagate hai aur usmein kuch modification kar ke ek naya array bana lete hai.... Magar forEach hume array return nahi karta hai ...usko toh hum array ki values ko print karne ke liye use karte hai.
Haa Sahi hai..wo Kuch return Nahi krta..hai..
Thank You Sir
nice explaination
Thanks for liking
Thanks brother 🔥
Welcome 👍
yeh toh for loop se bhi ho jayega na sir
Yes but this is new method
you always hit the bullseye.
Sir, please make videos on javaScript Algorithm and ES6.
Sir agr hmm ye for loop se print krva le to will it put a negative impact .. ??
Nahi koi negative impact nahi hoga.
sir function bnana jaruri h kya.Without function map ka use nhi hota kya🤔
Yes , yeh function jaroori hai.
@@YahooBaba okk sir
nice
Sir please make on React.
thank man you save me
thank u
where did we define that x = index of the array? u just typed
` function test(x){
return x.fname;
} `
Dear we are using MAP() function which means it works like LOOP and this loop run for every value of array. Array itself contains 3 objects so our loop run for 3 time and every time it runs the "x" means whole object comes in variable "x" and to print any object value we first use object variable and then its index name after using "." period like this : x.fname
x is just type parameter passed where it should return to function
How did test function got executed without calling it
i think there is no need forEach loop because we can do the same function using map...right?
Yes u r right but map function don't work on old browsers
@@YahooBaba Ok...but nowadays all people using update browser like chrome.. Firefox etc
I dont understand..
how the value of array elements ie yahoo/rahul is getting into x, while we have not defined x anywhere.
AOA agr mnay 2 array mein sy same value nikal kr 1 new array bnani ho to kasay bnay gi?
Sir is mn jab hn break tag lagata hn to next line pr comma ( , ) a raha hn
solved let ary1 = [1, 2, 4, 5, 10];
let newAry = ary1.map(test);
document.write(newAry.join(""))
function test(x) {
return x * 10;
}
Sir flutter ka bhi tutorial bana do plz
sir Render data pai ek video create kkaro please
bro jo bhi object me values hote hena is ko map kese karna he ???
Sir ese kr skte he
Return ary*10;
For multipication in existing array
kr skty hen . new const let ya var mai store krna hoga. sari values turn by turn 10 se multiply hojae g
object ka values , map ke dewara kese print karnahe . plz replay ji
Sir , functions inside functions par aapka konsa video hai .. please share link
Aisa koi video nahi hai.
@@YahooBaba sir functions inside function kaise work Karta hai.
Sir aap video baana dijiye.
sir plz calender our calculator banana bi sikahye js ki madad sey ...
sir, agr ye conslole me print krna ho to kaise krenge ...plzzz
I am well confused like how x get all the array value??
Sir please tell me x object kaise hai
Plez reply kijiye sir
//map for simple array
var arr = [1, 2, 3, 4, 5, 6];
var arr1 = arr.map(function (a) {
return a * 10;
});
console.log(arr1);
var arr2 = arr1.map(test);
function test(a) {
return a - 5;
}
console.log(arr2);
//map for objects inside an array
var arrObj = [
{ fname: "Judas", lname: "sout" },
{ fname: "Walker", lname: "alen" },
{ fname: "Jonas", lname: "schmen" },
];
var fname = arrObj.map(function (a) {
console.log(a.fname + " " + a.lname);
});
For it is more interesting bcz my name is Karan and in every program Karan exist 😂. Very near to complete this
Sir plz guide after this I want to learn REACTJS wat is the main extra thing I want to learn for starting before REACTJS course
For ReactJS you have learn Javascript new version ES6 features and Javascript OOP.
Sir Please make react.js ,nodejs , express.jsand mongoDB tutorials
Please make the videos on Promise, Async Await, Call back.
pls chng the title yaar bcoz i was searching for Map() constructor and not map() method of array
Sir reduce method nahi mila playlist main
Ty sir
what is difference beween map and filter?
👌👌👌👌
jadhi hamare pass array hai ush ki number length 12 hai ush array ko 3 parts mai divide krke osh ke andhr ke numbers ko addition krna hai every time to eisey kaise solve krey
Uske liye aapko nested loop use karna padega. Outer loop ko 3 time chalana padega aur inner loop ko bhi 3 time chalana pedega. Inner loop ke andar hum array ki values ka addition karenge.
This q is asked in interview pls solve
Input = [1,2,3,4,5,6,7,8,9,10];
Output = [i=1,i=2,i=3];
sir yha par apne X kyu liya hai hum variable b m kyu print nhi kiya new array ko or apne khi define bhi nhi kiya ki x ek variable hai. plz solve this confusion.
Hello Ankit, Mujhe lagta hai aapko "Function with Parameters" ka concept nahi pata hai. Pehle aap yeh video dekhiye : ruclips.net/video/L1AtWLNpwuQ/видео.html
@@YahooBaba thanx sir. I understand.
let a=[2,4,6,8];
let b=a.map((b)=>{
return b*10;
})
document.write(b);
its right
false
this code is correct >
let a=[2,4,6,8];
let b=a.map((x)=>{
return x*10;
});
console.log(b);
sir map function not work in my browser (chrome)
Show me your code
2:44 kuch to garbar ha aapke text autofill me
Hahahahaha ... bhai, please map function per focus kro.
Bhai Php k zarya password forget system bana dein jald sa jald please
sir maine map ki practice ki to map is not a function error dikha rha h
Kis browser pe check kar rahe ho aur uska version kaunsa hai ?
Should've left lname : "Baba" on Line 8 on 4:03 :D
ala
any react your tutorial ?
var a = [10,20,34,304,40];
document.write(a + '');
var b = a.map((b)=>{
return b*10;
});
document.write(b);
🙂
Didn't understand where the x come from in test(x). It was never defined.
ary.map(test);
When we use map method we don't need to pass parameter separately when we are calling function within the map method.
Sir is ke note to provide kr din
Get it from our website : www.yahoobaba.net
your to fast buddy
!!!!!!!!!!!""""""sir plese ans my question?:::: you show us so many thing most of the things is unecessary and many thing it's not possible to remember... Why you do this kind of thing's ??? parentElement no you also show us parentNode... Why so extra ??? I am so frusteded and angry""""""""
Dear when ever you go for interview then interviewer ask you a non important things. Thats why I teach all properties and methods of JS and PHP.
@@YahooBaba Thank you for your answer... I'll try to learn as much as I can.. But what If I just make a living but not go to interview? I know it's irrelevent me to add another questtion but it's on my mind. thaks again for answering the question
kuch samajh nahi ata kaise samjhate ho acche se bataya karo
I salute you legend ❤