00:00 What he did in back days 00:59 That one interview question 01:30 The answer 02:20 Object properties inside Browser Console 03:35 Object.getOwnPropertyDescriptor() method 04:55 Why value of Math.PI cannot be changed 05:33 Passing the parameters inside the method 06:10 Printing value of the parameters 06:40 Why value of PI is not changable 07:30 Declaring own object 09:00 Cheking Object.getOwnPropertyDescriptor() method of our created object 10:20 Define your own property 11:28 Printing own object's descriptor 12:18 Trying to iterate the object usng loop 13:45 Changing the parameters to solve the error 14:20 Code kaise fatega 🙄 15:00 Code ko repair kiya gaya 15:40 If you don't want some values to be iterated of the object 16:06 There's no error. (Comment if you caught 🧐 that) 16:30 Searching Google for the solution Thank You 😍
@chaiaurcode Жыл бұрын
❤️❤️
@endgame3842 Жыл бұрын
Aapki explain krne ki jo saily haii... Bemisal haii❤❤❤
@HanzlaAsam8 ай бұрын
Wrapping up this series, I've gained a comprehensive understanding of JavaScript thanks to your guidance. Your teaching style on KZbin is undoubtedly the most effective way I've encountered to learn coding. I appreciate the clarity and depth you bring to each topic
@dhumdeogobare1891 Жыл бұрын
kisko kahani yo me aapane ne bahut kuch sikhaya hai ... Dhanyawad aapake is behatrin Prayas ke liye .... !!!😇
@abhijitchanda4927 Жыл бұрын
This channel is one of the best teaching for javascript in a very simple and efficient way I found on youtube,please Keep making more videos and projects, and thanks for sharing your knowledge so well
@Dev-Phantom Жыл бұрын
I have never heard of this, Totally new for almost all the viewers.
@vickyacharjee9369 ай бұрын
19:27 smile in pain🙂
@Aniket_0314 Жыл бұрын
content esa bnaao ki 4 log bole 40 logo se pdh kr bhi esa gyaan ni mila toh ye sirf hum 4 tk hi kyun hai, mtlb share krna toh bnta hai 🌹🌹
Thankyou for this. you are the best. padhane ki style bahut achi h and hindi me hai so boar bhi nhi hote,
@allgtavlogs35244 күн бұрын
What an amazing video, thank you so much for these types of videos sir. 😍😍
@markiV643Ай бұрын
huge amount of love for this course
@pabitrakc56702 ай бұрын
full detailed video thank u sir for making study more easy
@TrilokSen-fz4yx27 күн бұрын
outstanding teaching
@naveengupta157 Жыл бұрын
very deep knowledge about object i saw here..Thankyou sir..
@nigampatel63839 ай бұрын
5:33 look at here carefully if you looking for ethical hacking part think we can do set xss attack here and this too 10:15
@amit16_017 ай бұрын
Love this Series. And lot of love for Hitesh Sir.
@Rajveer__singhhhh Жыл бұрын
I want to extend my warmest wishes to you. Your dedication, passion, and commitment to educating and inspiring students are truly admirable. You've not only imparted knowledge but also ignited a love for learning in so many young minds. May your journey as a teacher continue to be filled with success, joy, and countless moments of fulfillment.
@sharoonshahzad1786 ай бұрын
This series is actually depicts the true meaning NEVER JUDGE THE BOOK BY ITS COVER,,,,,,, hats off sir g.....
@ganeshchougale955810 ай бұрын
i know it not changing the value of Math.PI directly but get works done, let pi = Math.PI const whole = Math.floor(pi) console.log(Math.PI); // 3.141592653589793 console.log(Math.round(Math.PI)); // 3 console.log(Math.floor(Math.PI)); // 3 console.log(Math.ceil(Math.PI)); // 4
@NOT_TON_Fan Жыл бұрын
Today I've learnt something new that I never thought of.
@Tayyab_Raja Жыл бұрын
Mind full hogya ha bs kr b itni video aik din main😂. 😮❤❤ From Mirpur Azad kashmir.
@akashchavhan30643 ай бұрын
kashmir gulam kab tha bhai
@singhkr Жыл бұрын
Sir today I realised that your channel is best channel ❤
@chaiaurcode Жыл бұрын
Thank you so much 😀
@ahsanali8237 Жыл бұрын
Best ever channel for JavaScript learners.
@mrgtxgamerz1 Жыл бұрын
dear sir, plz explain time and space complexity in any language , we are very confuse on this topic plz sir . your explanation helps us a lot...🙋🙏🙏
@PradeepSharma-lx6im2 ай бұрын
Time complexity to ye hota hai ki ek algorithm jo tune banayi hai vo execute hone mai kitna time le rahi hai . Vahi space complexity ye hoti hai ki Teri algorithm memory mein kitna space le rhi hai
@mrgtxgamerz12 ай бұрын
@@PradeepSharma-lx6im Dhanywaad
@abhinavsingh-qu6hv Жыл бұрын
Thank you so much hitesh sir, series khatm kar li h almost,loved your content,keep posting 🎉
@surajpadihar5027 Жыл бұрын
Thank you so much sir for providing such a premium content for free ❤
@SatishSinghSigma6 ай бұрын
Hitesh ji apke tane sunkar maine apke channel ko subscribe kar diya hai and thanks for the cheezo ko under the hood jakar samjhane ke liye
@ck0024 Жыл бұрын
x = Math.ceil(Math.PI) 4
@deadlylive_gaming715410 ай бұрын
👏
@shifteditz06Ай бұрын
It is correct, but it is not changing the actual value of PI to 4, you've just used ceil function to round up to the nearest integer
@rameshwarmangal3971Ай бұрын
In this approach ,you can't make the value whatever you want.
@kaushalTechFun Жыл бұрын
Great, awesome ❤❤ I never couldn't learn from others, which is I learn from this video
@technoyash2970 Жыл бұрын
Its my day 26 of learning javascript from you. Thank you so much for making that top notch series
@krishna.vineet9 ай бұрын
Sir, i still cant change it to 5 After doing all this, it works when doing log(Math.PI=5), but not when doing Math.PI=5, then logging it. Please Look
@hizarkhan_09 ай бұрын
Sir !!!! Ap tu hamy a + b sy seeda Software Engineer banany waly hai😂❤❤ Thanks Sir ❤❤ Agr yeh series na hote tu hum abe tak pattern print ke loop me lagy hoty 😊
@prashantsingh5142 Жыл бұрын
Thanx alot for such lovely videos
@tejashrishirol3399 Жыл бұрын
I am watching this while having my chai 🙂 .Thanks for sharing ..this is very helpful stuff as I am preparing for my interviews 👍
@preetamdas29Ай бұрын
Object.defineProperty(obj, "prop", { })
@nikhilsethi2781 Жыл бұрын
about to complete whole series and enjoying this thank you hitesh sir for this best series
@parthpitroda3510 ай бұрын
Your efforts are just awe-some i mean even if it takes a lot of time to research about topics in depth you keep up the dedication which helps us too in learning ❤
@RagSingh-e2e10 ай бұрын
best Series ALL OVER THE UNIVERSE, thank you Sir 🙏
@Khedhar108 Жыл бұрын
happy to know there is an indian developer which is making noise in youtube and shining like a pole star to give us direction.
Yeh couse krka esa mehsoos ho rha ha jesa ab sa hum bi Javascriot ka bht bara geyani ha
@m_sahoo123 ай бұрын
sir if we I use Math.ceil(Math.PI) then it will be 4. Can it be Ans?
@sksk-vm3rp Жыл бұрын
kya baat h sir 🎉🎉aaj puri form me aa gye..
@anupammishra28917 ай бұрын
Math.ceil(Math.PI)) = 4 .... Aise v to 4 kar sakte h 🤔🤔
@abhihirwani4403 Жыл бұрын
Learn new concept of object properties it is very full for interview perspective and also in the projects. thank you sir for this lovely JavaScript series waiting for the React Js series
@vaibhavsingh345311 ай бұрын
Thank you sir 🙏❤
@a2408__8 ай бұрын
thank you so much for a video of this much indepth knowledge ❤
@rendevous9253 Жыл бұрын
Thank you sir for these depth .
@preetamdas29Ай бұрын
Object.getOwnPropertyDescriptor( obj, "prop") method of our created object
@jrahul424 ай бұрын
thanks for behind the scene explanation
@akshatwebile9322 Жыл бұрын
Your explanation is really too good 😊👍😊
@aggsha75804 ай бұрын
Thanks A Lot Sir ❤❤
@Mikeforu6 ай бұрын
Sir please make a tutorial on Angular as well.. 🙏
@Instrumentation010 Жыл бұрын
Thank you sir for such amazing tutorials
@NeamothThePro20 күн бұрын
Now I got the power of reading documentations
@niketansinha86848 ай бұрын
😮😮amazing 👏 😍
@RajatKumar-ib4ls Жыл бұрын
thank you so much sir for ur effort and dedication to the students who want to learn in a simple way...❤❤
@priyankagehlot99456 ай бұрын
Thankyou Sir😊
@relaxation_music-7ym9 ай бұрын
Thank You Sir ❤❤
@pradeeppradeepkanaujiya89902 ай бұрын
Great👍👍👍👍
@maliaraeeskhan85217 ай бұрын
sir so nice of you....
@malikusama-v1j6 ай бұрын
very informative
@montyvats7003 Жыл бұрын
Can't we use Math.ceil(3.14) to change this constant value of PI 😅
@motivationalvideosforsucce743910 ай бұрын
👍 nice teaching sir
@riajikbal29389 ай бұрын
Great topic sir
@BitFire0079 ай бұрын
"Chai aur Code, you've made JavaScript learning so enjoyable that it doesn't feel like learning at all!"
@mohitchouhan1715 ай бұрын
Chai to honi chahiye ☺️
@nitish7380 Жыл бұрын
Aaj to barish ho rha sir ji 😉
@vishalthapa31017 ай бұрын
console.log(Math.ceil(Math.PI)); [Answer will be 4]
@56_adityakachare736 ай бұрын
The console.log function prints the values to the console but does not change them. Math.ceil(Math.PI) does not change the value of Math.PI; it only uses it to compute the result.
@Dev-Phantom Жыл бұрын
cool sir
@ManavSinghal-c6t9 ай бұрын
can anyone plz tell ki math.pi ki value hum change kr skte hai ya nahi kyuki kisi aur ke object ki writable property ka acces humare pass toh nahi hai
@tusharpandita1676 ай бұрын
let x = Math.PI console.log(Math.ceil(x)) //otherway let b = Math.ceil(Math.PI) console.log(b)
@CheatCodePython3 ай бұрын
kar liya subscribe sir ji.
@arshitcc8 ай бұрын
Thank You Sir
@AabaBeel10 ай бұрын
How is your voice so clear ? also make a PLAYLIST on making videos with Clear Voice plzz
@AhtshamUlhaq-o7b Жыл бұрын
osm video sir
@usmanahmad9847 Жыл бұрын
sir aap plzzz core JS se bhot saare projects krwaadijiye taaki hm logo k foundation mzbuuuut hojaaye
@chaiaurcode Жыл бұрын
Vo b krwa denge, bs linkedin pe aapke share ke notifications nhi aa rhe
@abhishekkhatana1256 Жыл бұрын
@@chaiaurcode😂😂😂😂 Emotional damage sir 😂😂😂
@pradhumanmanjare801611 ай бұрын
@@chaiaurcodeSir aap bhutha acha explain arte ho Thanks 🙏
@kashinadoing10 ай бұрын
sir like in this video you told soo much deep thing which takes a lot of exp to know but how and the other person who you interviewed knew that like there is no course about these things and most probabily both of you are not on mdn docs all the time so how you got to know it these kind of this make us feel how less we know which create exitement but lack of knowladge and low confidence and also was not your question a luck based question it is not necessary that any other candiadate have never faced these type of things so he did't knew but so you set this thing as a criteria that the one who know it is a good dev too plzz reply @@chaiaurcode
@usmanahmad9847 Жыл бұрын
sir aapne kha thaa mini-projects on particular topic p krwaunga taaki foundation ambuja cement bnjaaye hmara wo kb aayyega???
@rahulchaubey717610 ай бұрын
jab padhane wala itna tagda ho to padhne me alag hi maja aata hai.
@ajay.s49585 ай бұрын
tthanks sir jii
@Krishan_Morwal8 ай бұрын
guru ji is great
@ankushladani496 Жыл бұрын
Dhanyawad guruji 🙏
@17rutvijamali799 ай бұрын
Thank you
@Pokeball-z9f11 ай бұрын
In summary, the attempts to modify Math.PI will not succeed because properties of the Math object, such as Math.PI, are read-only and cannot be modified.
@rendevous9253 Жыл бұрын
people will understand the value when they will stuck in real life project.
@ibcer.shubhamsinghbadabusi75864 ай бұрын
In the beginning , I was thinking about Math.ceil(Math.PI). 😀😀😀
@saketkandari35682 ай бұрын
thank you sir
@mriduakaxxehacker Жыл бұрын
Great Content 👍
@rameshwarnalawade749911 ай бұрын
Rameshwar Nalawade I want to create a common object in JavaScript and dynamically include different JavaScript files based on the page that is open. How I can achive it.
@surajmaurya1515 Жыл бұрын
Thank You Sir
@mdtausifahmed62057 күн бұрын
best of the best
@ashutoshmishra96102 ай бұрын
Amazing
@abhipatil7 Жыл бұрын
Thanks ❤
@youarewhatyoulistento34204 ай бұрын
those who don't get the answer we can't change the math.pi as it is not writable
@Asimch712 ай бұрын
thankyou sir
@rummy2416 Жыл бұрын
Bhai m arts stream se apne experience ye btaao arts walo k liye career dekhna chiye esme😊
@shafiulbashar20232 ай бұрын
Thanks
@hellgaming55004 ай бұрын
console.log(Math.round(Math.floor(Math.PI))) // output 3 console.log(Math.round(Math.ceil(Math.PI))) // output 4 by using above method I am able to change the PI value if you could lemme know did i did it correct of not
@sufiserious7984 ай бұрын
You have to change the Math object's property value !! Like: console.log(Math.PI) // should return '4' on its own without using floor, round or ceil It cannot be done unless we somehow enable 'writable = true' for the 'PI' property.