Thanks for watching ! :) Thanks for the support ! )
@JLO727133 жыл бұрын
Very helpful, your you defeated the Google beast
@ArjunKesava5 жыл бұрын
To print the length of arguments (17:33), we can simply write: return arguments.length; inside the function instead of using Slice method.
@Techsithtube5 жыл бұрын
That is true Arjun. Slice helps to convert argument to an array and then you can use other array features like join() and things.
@GabrielVasile5 жыл бұрын
For getting total number of arguments, in ES6 we can do let x = function (...args) { return args.length; } and for the method chaining we can use return this;
@zajebojca7 жыл бұрын
This question with "returning total number of arguments" can be solved in much simpler way. const x = function(){ return arguments.length; } The object 'arguments' has property ''length'.
@cassavandumbi27347 жыл бұрын
You are either wrong or you mean the opposite. the below returns 4 function x(a,r,t){ return arguments.length; } console.log(x(5,5,6,7))
@dand82826 жыл бұрын
you can count formal parameters (aka "required arguments") with function.length, not arguments.length, which is a count of what's passed.
@kamoroso946 жыл бұрын
I was thinking the same thing, but also what's the point of no loops? How would a loop even help solve this problem lol.
@ravikumargrandhi63156 жыл бұрын
output will be 4
@ravikumargrandhi63156 жыл бұрын
x(.....) function will return how many arguments you are passing while calling x(....).
@vinikett91144 жыл бұрын
Brother you are one of the most efficient teachers for teaching programming on youtube that i could find.You explain concepts really well.Its sad that youtube is doing this to constructive youtubers like you.You have all my support!
@sadunozer2241 Жыл бұрын
5 years later and this video is still relevant. I didn’t watch it fully this time… but I do remember everything about it vividly. An absolute classic❤
@robertmasters55786 жыл бұрын
This is great, I have a couple of job interviews next week for JavaScript roles and you have really helped me to build my confidence in preparation for this. Please keep posting videos :-)
@astro-zodiac2 жыл бұрын
6:10 That's a cool trick to impress your co-workers, If they dont know it 😂😂
@rojiherrera7 жыл бұрын
"This is an INTERVIEW, not a RACE" -techsith ☝️
@vladanng6 жыл бұрын
What a fantastic videos. I remember watching your one year ago it feel like nostalgia, because i spend hours and hours watching your videos, trying to understand things. For now, i did not find better one tutorials on JS stuff on youtube at least. Just fantastic.
@Techsithtube6 жыл бұрын
Thanks for watching and welcome back !
@nintichance6 жыл бұрын
I've been watching your videos over the past few days and they've been extremely helpful and informative!
@Techsithtube6 жыл бұрын
Thanks for watching Ninti! :)
@subratkumar59017 жыл бұрын
I am following you since couple of months.. You are champ man. Keep it up.. 1000 likes from my side
@Techsithtube7 жыл бұрын
Hi Subrat, thanks for watching! :)
@xuelianwang53005 жыл бұрын
Very interesting JavaScript question! Thank you for sharing!! Thank you for taking time and effort to make so many nice JavaScript videos!
@surferbum6186 жыл бұрын
Thank you for helping strangers! I hope KZbin does right by you and you can keep the videos coming. They're a great help.
@tochukwuibe21396 жыл бұрын
Getting ready for my first interview, your content is really helpful
@Techsithtube6 жыл бұрын
Good luck with your interview. !
@meetidnani7 жыл бұрын
Thanks for your videos, they are really helpful. For the question related to number of arguments ...i could simply also do the below var y = function() { console.log(arguments.length); }; y(1,2,3,4,5); Any specific reason for using [].splice ......
@Techsithtube6 жыл бұрын
yes you could simply use arguments.length
@LolowBlazee6 жыл бұрын
Love those tricky questions, we actually keep learning :)
@sammiliu25244 жыл бұрын
Great video, very useful
@danielhughes37583 жыл бұрын
Thank you so much for this. It's interesting to hear your perspective on these tricky questions and I appreciate your openness and honesty about youtube monetization
@Techsithtube3 жыл бұрын
Glad it was helpful!
@momentswithmanisha4 жыл бұрын
I learned new things. Thank you clearing my Concept 😇
@SlayBellsMusic2 жыл бұрын
I'm finding all your interview videos helpful. I have my first ever on Monday and feel much more confident going in.
@babinicz916 жыл бұрын
Best Interview series!
@DevRaj-tk3kc6 жыл бұрын
Nice tricky questions. These are proper genuine content videos.
@ryanlozon57126 жыл бұрын
Please keep up the awesomeness.
@ernestromen14799 ай бұрын
You helped me a lot in job interviews. Actually I am preparing for an interview right now with the help of your video. Thank you!
@RajendraTaradaleBeHappy5 жыл бұрын
Thanks for tricky question - didn't aware of this magic
@shawnmichaelalberto7519 Жыл бұрын
@3:26 now I fully understand how styled components work. You are such a good teacher
@jakekim14426 жыл бұрын
Awesome tutorials man.
@tarekjamil63486 жыл бұрын
Jake Kim Hi
@pavelerokhin15126 жыл бұрын
There is no inappropriate content in this video, dear KZbin
@ollehbudiak71505 жыл бұрын
Thanks for your work. console.log(arguments.length); vs console.log([].slice.call(arguments).length);
@Toni79267 жыл бұрын
Nice video, keep up the good work! (:
@Techsithtube7 жыл бұрын
Thanks for the support ! )
@nancycreeksong98795 жыл бұрын
Techsith videos have been very useful to me. Thank you.
@SK-ur3hw7 жыл бұрын
Great interview questions 👍🏻
@Techsithtube7 жыл бұрын
Thanks for watching ! :)
@njcoutinho17 жыл бұрын
Wonderful to learn this. Thank you
@ejikeezekwunem41622 жыл бұрын
What a great video. I had my hand over my head all the way. Like I would literally fail all the questions without your solutions. Thank you so much.
@vlad9817 жыл бұрын
Thanks! Great video! Hope KZbin will change its policy, keep it up please)
@Techsithtube7 жыл бұрын
Thanks for the support ! )
@MrVisheshsingh7 жыл бұрын
Thanks for the video. We all support you for all the hard work you are doing!
@Techsithtube7 жыл бұрын
Thanks for your support! :)
@theinternetcash6 жыл бұрын
my first javascript interview coming up very soon
@Techsithtube6 жыл бұрын
Good luck!
@ryanmfahey16 жыл бұрын
This is very helpful. I am conducting JavaScript interviews in the next couple weeks. This has been a great resource (along with your other videos).
@Techsithtube6 жыл бұрын
Thank you for watching Ryan. Good luck with your interviews!
@ErnestGWilsonII7 жыл бұрын
I am already subscribed to your channel and I get alerts but I wanted to let you know that I really appreciate your content thank you for making videos and posting them for us!
@Techsithtube7 жыл бұрын
Ernest , Thanks you for watching! :)
@christmasvillage36525 жыл бұрын
your videos are awesome and KZbin is very discouraging. Keep up the good work sir.
@MrErererererr5 жыл бұрын
Thank you. I have my interview tomorrow and if I pass it, it thanks to you.
@jcmarquezgalvis5 жыл бұрын
Did you pass?
@ra58984 жыл бұрын
Plg send me the question I don't have idea I prepared the interview my email id kamalrajawat870@gmail.com I have prepared in web development plg text all questions
@Fikayoz7 жыл бұрын
Thank you so much for this video! I hope this channel grows even larger!
@Techsithtube7 жыл бұрын
Thanks for your support Fikayoz!
@atmansangeethamani53736 жыл бұрын
Hi Sir, Your javascript interview part of videos are very helpful. actually I have found an another way in that question of function return total number arguments you have explained like function x(){ return [].slice.call(argunments).length; } x(1,2) // 2 length Found another way is arguments is a array like object it has number of array of arguments of function function x(){ return arguments.length; } x(1,2,3) // 3 simply we return arguments.length that will give lenght of arguments of function am getting answer for this way too.. Thanks once again sir.
@gouravgirdhar99736 жыл бұрын
I'm grateful for all the effort you are putting in which makes learning so much easier. Thanks for all the hardwork
@Techsithtube6 жыл бұрын
Thanks for watching Grourav. I am gladthat it helped!
@CodersGyan4 жыл бұрын
One of the best tutorial :)
@pmahesh67894 жыл бұрын
Your all videos so far I have been seen are really deserves thumbs up ( 👍 ), Please keep doing your good work... and hope KZbin should not harm you.
@swethas73205 жыл бұрын
Good video to understand JavaScript concepts in depth
@sam123sujeet5 жыл бұрын
Really like this tricky interview questions series. Keep posting it
@ozzyfromspace2 жыл бұрын
@17.25, a more concise solution is: const x = (...rest) => rest.length; Awesome video, Techsith. I'm 100% subbed 🏆🎊. Most of these questions really had be thinking haha
@kamoroso946 жыл бұрын
KZbin's algorithm is so stupid. Your videos are good quality and don't deserve to be demonitized.
@Techsithtube6 жыл бұрын
Thanks for the support Kyle! :)
@nandac28205 жыл бұрын
This video is great but and your explanation is good. I really did't understand the concept of asking these kind of questions in interview. Until and unless you faced these kind of scenarios in real time you never know the answer. I do have some decent experience like 6+ in JS but I faced these situations very rare when we work on framework. (9 out of 10 developers dont remember things after fixing an issue) So if some one answered these kind of questions means they saw these videos(assume {some number} out of 10) or read somewhere. So what are you interviewing real time experience or some interview preparation ? As an interviewer I will ask concepts(not these tongue twisters). architecture of application/framework and mainly approach on solving problem and wiling to learn.
@miroslavspirkoski56236 жыл бұрын
Thanks a lot for this video, you are really unique with this content!
@nitinagrawal66375 жыл бұрын
Appreciate & yes maximum people make a list of questions to ask from the internet for the interviews & then start expecting the answers for those questions from candidates & in reality maximum interviewers also dont have any freaking idea for those answers. But current interviews have become a race, a questions/answers session, a Viva.
@lolmos4 жыл бұрын
Dude I love the videos you're really helping me and many others on our Dev path
@PhotoLightTV6 жыл бұрын
techsith, your videos are amazing!
@sanjaysingh-sy6zu5 жыл бұрын
Thanks for making this video which helps me understand tricky concepts of JavaScript. Thanks a bunch
@ephdawg33746 жыл бұрын
Thanks for your videos, they are always so helpful. Learned some great things from this one !!
@ParasFtl6 жыл бұрын
This is one of the best channel to advance your JavaScript.
@adamcrap6 жыл бұрын
Great content!! I am preparing for an interview in a couple days and your videos are a huge help!!
@Techsithtube6 жыл бұрын
I am glad Adam . thanks for watching!
@aakritigangwal76597 жыл бұрын
Thankful for good bunch of Interview questions ons JS.
@rampande58305 жыл бұрын
found tutorial very useful. Learnt new things in JS. Thank you.
@shridhargovindaiah6 жыл бұрын
Excellent Video. We support you and we need more educational video from you.
@Techsithtube6 жыл бұрын
Thanks for watching Shridhar!
@devolee83025 жыл бұрын
'Document.body.cotentEditable = "true" ' is super cool !!!
@Techsithtube5 жыл бұрын
Yes first time i saw contentEditable I was blown away. :)
@alex_zan6 жыл бұрын
Really helpful video! We need more of those on KZbin!
@Techsithtube6 жыл бұрын
I have a plan for more such videos. keep an eye on the channel for that.
@kurisuisaway6 жыл бұрын
You're awesome, your videos are helping me a lot. If I pass my interview tomorrow I'll become a patreon. Thank you very much!
@Techsithtube6 жыл бұрын
Good luck with your interview Andrea. :)
@SketchStack6 жыл бұрын
Awesome man. Want to see more interview tricky question series. Awesome job.
@cemiluzunhasan13663 жыл бұрын
I'm studying my interview with your videos. If I pass, I will edit my comment and I hope it's going to be well because the videos are very great. The contents are preparing the audience to the tricky and hard questions. Especially the ones that include mock interviews. Keep it going!
@viddusliteracy90872 жыл бұрын
Hey did u selected or not
@Michael-hj9fx6 жыл бұрын
This was a very informative video. Thank you for creating it! I'll be sharing this with some of my programmer friends :)
@keshavgupta65493 жыл бұрын
Where are you right now? Did you land at your first job? I am having an interview today.
@6keff7 жыл бұрын
Excellent video!, I didn't knew about content editable property until now. Thanks!
@Techsithtube7 жыл бұрын
yes, its a neat trick.:)
@sufiyan0011able5 жыл бұрын
Thanks for making this video. Its a great help for guys like us.
@Techsithtube5 жыл бұрын
Sufiyan, thanks for the comment.
@andreybindyuk7695 жыл бұрын
Quite important and useful tutorial, many thanks!
@joyandlove77106 жыл бұрын
Thanks for the tips! I hope I am not running into any of the questions in my interviews, but it is so good to know.
@Techsithtube6 жыл бұрын
Its important to know these questions. Most of the times people wont ask such questions but you might one or two people who would ask such silly questions to throw you off.
@anuranjansrivastav98646 жыл бұрын
Hi, Please elaborate as why arguments[0]() is causing this.length as 2. What makes arguments behave like that.
@Mr_BetaMax5 жыл бұрын
I did not know about the contenteditable attribute!! It's awesome
@dikshachavan90756 жыл бұрын
you are great at teaching. very useful examples to understand js
@Techsithtube6 жыл бұрын
Thank you Diksha, Keep on learning!
@alon81854 жыл бұрын
Thanks! I learned allot in just 21 minutes.
@shwetapaliwal24245 жыл бұрын
seriously very much needed video for developers
@Techsithtube5 жыл бұрын
Thank you shweta for a nice comment! :)
@yiyingw65066 жыл бұрын
I really like this series! I learnt a lot from watching these. Thank you!
@Techsithtube6 жыл бұрын
Thanks for watching Yiying! :)
@sistlavenkatesh29934 жыл бұрын
This video is important video for ui developers. Very informative video infact.
@DanielDogeanu6 жыл бұрын
That thing with contentEditable blew me away! Awesome trick!
@nunosantosdev5 жыл бұрын
im glad you fixe YT problems for ads...your videos eally helpme a lot thanks👏
@itsimpl62575 жыл бұрын
The reason you cited why the interviewer asks such weird questions are all very correct.
@swethavutukuru4 жыл бұрын
u have gr8 knowledge on Javascript. I am learning a lot from u. I am looking forward for more technical videos from u.
@debanjanbasu25976 жыл бұрын
I am just thankful to you from heart for these videos.
@glendysfilsinger54736 жыл бұрын
I am a new subscriber, and I can tell you that I love your content and videos... It is awesome!!! keep up the great work :)
@rahulsalvi66236 жыл бұрын
Really helpful video. Helped me to understand the core concepts.
@harikumargurudu52607 жыл бұрын
Thank you for your videos. We are with you and please keep on posting videos.
@Techsithtube7 жыл бұрын
Hari, Thank you for your support! :)
@sanketatmaram4 жыл бұрын
function a() { console.log(arguments.length); } Above will also work for arguments length.
@Imjaffarkhan5 жыл бұрын
Very well explained. Thanks Sith
@Techsithtube5 жыл бұрын
Thanks for watching Jaffer.
@p2v5157 жыл бұрын
Amazing video! Like the job you do, good luck with it hope you stay motivated!!
@Techsithtube7 жыл бұрын
Thanks for the support ! )
@SiddharthShivhare3 жыл бұрын
This video is so important and you have shared very good questions with valid answers. Thanks a lot
@rajatsrivastava5744 жыл бұрын
The way you explain the JavaScript are really awesome.
@Techsithtube4 жыл бұрын
Glad you think so! Thanks for watching!
@AAA-hv7nr6 жыл бұрын
I really appreciate these videos and the content is totally PG.
@Techsithtube6 жыл бұрын
Thanks for your support :)
@bogdanbugnar74153 жыл бұрын
This is great man! Keep on going!
@indianhikinggirl5 жыл бұрын
Please come up with more videos of this type. It would be very helpful for interviews. Thanks
@Techsithtube5 жыл бұрын
I have a whole series of such videos. do check it out the playlist
@naveenreddydepa83246 жыл бұрын
Great video to learn JS tricky interview questions. I felt thrill waiting for each answer of a question
@AradhanaSinghAdecentgirl6 жыл бұрын
Thank you So much. It really helps.You are doing great :)
@tomlemanh55066 жыл бұрын
.... just leaving a comment ;) Great contents man. Keep up the good work! U got a new subscriber
@Techsithtube6 жыл бұрын
Thank you for subscribing :)
@swapnilsaxena16546 жыл бұрын
Really helpful. Appreciated all questions
@MrCooldude037 жыл бұрын
You know finest art of teaching.. A big fan of yours.. learnt a lot from you.. you deserve a like and a comment.. will be there for support you always, if you keep on posting video like this. Thank you Sir
@Techsithtube7 жыл бұрын
Thank you for your support! :)
@sandeepreddy18665 жыл бұрын
Good tricky questions. Thanks for your effort in uploading such videos