Hey baba im your true and honest subscriber and ai also like your video that i see, by the way im not watch your js tutorial now because now i learn css from your videos but i also learn js after css and then i see your videos, i have a request for you that bro please make a video on how to make a blogger and wordpress theme start to end with html css and js after this js tutorial Please Brothwr make video on it ok
Salam sunain yeh bt ap kafi func main is trh q keh rahai k is lia use krtai k search krnai k lia k wo value hai ya nhi.....mujh btain yeh find include r some ka function aik he hain kia?....plz tell me i am confused
@@akhileshchauhan9561 By making some projects in JavaScript. Start from this series after completing your Javascript basics : ruclips.net/p/PL0b6OzIxLPbyCykP6YQXLsVUDlTjA8suQ Most important topics in Javascript for beginners are "Events, DOM, Arrays"
let a = [12,14,16,15,18] let b = a.some(texture) document.write(b) Sir I don't know why but when I write this code and refresh the page it shows "true" But according to the video it should not show anything before we start the function
//because u r not define the fun. thats why the problem is arises in your source code. let a = [12,14,16,15,18] document.write(a+ "") let b = a.some(texture) document.write(b) function texture(r){ return r == a };
can you tell me please ,why you wrote (age) in function parameter, i don't understand , and tell me another thing when need to use function or how i understand to there is need to write function , i am confused about this ,please please reply ,, i want to be a good designer and developer and you are very good person and i hope you will help me thank you,, please
I use (age) in function parameter because here "some()" function run for each value of array (ages) and every time the value of array gives to variable (age) in chechAdult function and variable (age) accept the every value of array one by one and check it whether the condition is true or not. We mostly uses the function where we want to reuse the code. To reduce the length of coding we put same type of code in (function).
if we have to make another function and call it in some built in function then what's the benefit of this built-in function the if method is better than this then
Sir mjhe is logic ki smjh ni ayi? ages.some(checkAdult) jab chlta hai yh array m value dikhta r jo value get phr woh value age mn store hoti jo k checkAdult function ka parameter hai, tu yh checkAdult wli value is parameter main ksi ayi,normal function m value mostly value tu udr sy pass krte jidr sy function invoked hota, idk mn is m confused ho ..... simply the confusion is how checkAdult value passed to age i,e used in function?
Hello Mujtaba, yha comments mein toh yeh logic main nahi samjha sakta magar ek baat batana chahta hun ki yeh topic important nahi hai aur na he use hoga hai because of complexity.
Wo variable nh parameter hy. ages.some k brackets mein checkAdult ka function pass kia hy. Or neche humne us function ko aik parameter dia hai jo age hai.
Sir, Kindly Check The Code. Still showing the true. Code: - javascript var ages = [10,15,18,2]; document.write(ages + "" + ""); var b = ages.some(checkAdult); document.write(b + "" + ""); function checkAdult(age){ return age >= 18; }
Qki aapke array me abhi bhi 18 hai And aapne return me bhi 18 liya hai >= aapne jo operator liya hai greater then and equal to liya hai Thats why 18 >= 18 true hai
I like the first intro with power point. You are a nice trainer brother. Thanks.
Glad you like it
Keep it up lage raho jald hi sflta milengi
Awesome explaination 🔥
hello
😀
Itne ache se samjhane ke liye thanks
Bohot ACHA parhaya
thanks
bro if you know blender (3d graphics tool) plese make a series upon it we wait your responce
I only teaches programming languages.
@@YahooBaba ok bhai
Fun m ages ki place pr age use kiya tb bhi program run kyu ho rh h kyuki upr variable m toh ages h n
in function age is an arguement which is different from an array ages.
Hey baba im your true and honest subscriber and ai also like your video that i see, by the way im not watch your js tutorial now because now i learn css from your videos but i also learn js after css and then i see your videos, i have a request for you that bro please make a video on how to make a blogger and wordpress theme start to end with html css and js after this js tutorial
Please Brothwr make video on it ok
Hello dear, Wordpress themes pe bhi mein videos banaunga par useke liye aapko HTML, CSS mein perfection chahiye hai aur sath mein basic PHP ki bhi knowledge chahiye hai.Kyu ki bina iske aap wordpress theme nahi banapaoge.
@@YahooBaba ok bro
some and every funtion is it necessaerY???? it's like trenary.... or Includes.
thank you so much sir
Most welcome
Bro u r gem...❤❤❤
Thanks for appreciating my work :)
Thank You Sir
Sir ,some and every works only in integer ?
Salam sunain yeh bt ap kafi func main is trh q keh rahai k is lia use krtai k search krnai k lia k wo value hai ya nhi.....mujh btain yeh find include r some ka function aik he hain kia?....plz tell me i am confused
Waise ye method some() use nahi hota ha web development m.
Ye if else se bhi ho sakta hai?
Thank You Bro..
You're welcome!
bro js me strong kaise bane @@YahooBaba
JavaScript lean karne ka koe webside batao jo bilkul free me available ho@@YahooBaba
@@akhileshchauhan9561 By making some projects in JavaScript. Start from this series after completing your Javascript basics :
ruclips.net/p/PL0b6OzIxLPbyCykP6YQXLsVUDlTjA8suQ
Most important topics in Javascript for beginners are "Events, DOM, Arrays"
Self referential note: this video is important
sir jab apne checkadult function bnaya to usme parameter dia hai age lekin us parameter m ages ki arguements kese ja rhi hai.....
tnx brother..
You're welcome!
Nice work.
Thanks!
U can simplify like this var b = ages. some(age => age >= 18) ;
console.log(b) ..
bhai wo abhi ES6 nhi gaye hain to kaise arrow function use kr de? Sir k point of ko bhi samajhiye.
@@asifimam9276 ohh.. Ye bhi sahi hai
Thanku sir
Sir can't we use of if else in checkadult
Good
checkAdult function ka () use kew nehi hwa every function mee....plz rply
nice video
Thanks
👌👌👌👌
let a = [12,14,16,15,18]
let b = a.some(texture)
document.write(b)
Sir I don't know why but when I write this code and refresh the page it shows "true"
But according to the video it should not show anything before we start the function
texture is nt defined in ur coding so first ur error will be texture undefined then how can u get true
first make function texture..
//because u r not define the fun. thats why the problem is arises in your source code.
let a = [12,14,16,15,18]
document.write(a+ "")
let b = a.some(texture)
document.write(b)
function texture(r){
return r == a
};
bhai sahe s to krle thodaaa
Use directly callback function
can you tell me please ,why you wrote (age) in function parameter, i don't understand , and tell me another thing when need to use function or how i understand to there is need to write function , i am confused about this ,please please reply ,, i want to be a good designer and developer and you are very good person and i hope you will help me thank you,, please
I use (age) in function parameter because here "some()" function run for each value of array (ages) and every time the value of array gives to variable (age) in chechAdult function and variable (age) accept the every value of array one by one and check it whether the condition is true or not.
We mostly uses the function where we want to reuse the code. To reduce the length of coding we put same type of code in (function).
@@YahooBaba thank you so much,
@@YahooBaba so if we console log (age) then what will be the output?? Those values in arrays example 100 19 25 20??
if we have to make another function and call it in some built in function then what's the benefit of this built-in function the if method is better than this then
Sir mjhe is logic ki smjh ni ayi? ages.some(checkAdult) jab chlta hai yh array m value dikhta r jo value get phr woh value age mn store hoti jo k checkAdult function ka parameter hai,
tu yh checkAdult wli value is parameter main ksi ayi,normal function m value mostly value tu udr sy pass krte jidr sy function invoked hota, idk mn is m confused ho .....
simply the confusion is how checkAdult value passed to age i,e used in function?
Hello Mujtaba, yha comments mein toh yeh logic main nahi samjha sakta magar ek baat batana chahta hun ki yeh topic important nahi hai aur na he use hoga hai because of complexity.
@@YahooBaba Je sir Chlo filhal mne bhe chor dya hai,and thanks for ur reply,God have special blessing on you ameen
Sir for loop se kis trah krey ge
Sir ye jo aapne age veriable liya hai last mai usme toh abhi koi bhi value nhi hai to wo check kaise krega ye point nhi samjh aa rha please help
Wo variable nh parameter hy. ages.some k brackets mein checkAdult ka function pass kia hy. Or neche humne us function ko aik parameter dia hai jo age hai.
Sir Please make a video on Front end development complete guidelines..
Please sir highly requested please please
From Bangladesh ❤
CSS flex ki #playlist me #last 2 videos me #brother ne responsive front end design bnaye hn
very helpful for you
❤❤❤
Aap function m return word ko last m na likh k condition k phle q likhe. I'm confused. Please help me
isse for loop achchha h
Yes u r right
tnx
sir some or includes mai difference btaden
I would rather go with the for loop * _ *
Sir, Kindly Check The Code. Still showing the true.
Code: -
javascript
var ages = [10,15,18,2];
document.write(ages + "" + "");
var b = ages.some(checkAdult);
document.write(b + "" + "");
function checkAdult(age){
return age >= 18;
}
Qki aapke array me abhi bhi 18 hai
And aapne return me bhi 18 liya hai
>= aapne jo operator liya hai greater then and equal to liya hai
Thats why
18 >= 18 true hai
@@vipgamingcreations7943 Thank you So much Sir...❣️❣️
Hello sir
const cars = [ Audi,Jaguar,Maruti,RollaRoyle];
Thank You sir