Тёмный

Tricky JavaScript Interview Questions and Answers 

techsith
Подписаться 147 тыс.
Просмотров 457 тыс.
50% 1

Hard JavaScript Interview Questions and their possible answers ( cracking difficult coding interview questions )
For more interview questions checkout
*www.fullstack....
Please be my patreons on patreaon
* / techsith
Follow me for technology updates
* / techsith
* / techsith1
Help me translate this video.
* www.youtube.com...
Note: use translate.goog... to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 491   
@nasriddinbekbektemirov5796
@nasriddinbekbektemirov5796 3 года назад
Honestly, I am happy that I found your tutorials. Now I am feeling a little bit comfy so I can prepare for the interview without worries
@omkaryadav7445
@omkaryadav7445 3 года назад
Same here buddy
@charles-y2z6c
@charles-y2z6c 5 лет назад
Thank you, many times on an interview it becomes obvious the interviewer watched these videos too.
@vikrantsingh47
@vikrantsingh47 5 лет назад
this was really helpful. i am using javascript for many years but never knew of so many features like freeze and seal
@fida
@fida 5 лет назад
you proved that .. those are really useless
@BobbyBundlez
@BobbyBundlez 4 года назад
@@fidaLMFAO yeah they sound really dangerous tbh... why would i ever wanna make something completely immutable
@MP-mh1tu
@MP-mh1tu 3 года назад
This man is capable of explaining things well in a simple way, the way few people do. Thank you, sir.
@Techsithtube
@Techsithtube 3 года назад
I appreciate that!
@thedeveloper4207
@thedeveloper4207 6 лет назад
If you want to crack these questions then just ask the interviewer where he has used such scenarios. You'll be instantly selected
5 лет назад
I'll add it to my *How to look smart in an interview* trello card, thanks!
@pa9351
@pa9351 5 лет назад
The point is not to use it, the point is that as a senior you should be aware of the dangers of using tricky codes like this and stop others for doing something like 5 < 6 < 7 even if it works
@anthonya606
@anthonya606 4 года назад
I been denied on the last round of interview with CTO because of this answer. Everything was great until he decided to gave me a logical puzzle "You need to measure exactly 6 liters of water. But you only have a 4-liter and a 9-liter bucket. How can you do this?" I asked him "How often you guys are measuring water here with buckets" and been rejected right away...
@weblogic7723
@weblogic7723 4 года назад
@@anthonya606 Better off not working for them. Too egoistic if they cant even take a simple joke.
@Daniel_WR_Hart
@Daniel_WR_Hart 4 года назад
@@anthonya606 The thing being measured is irrelevant, they just wanted to test your problem solving skills. Although if you clarified that you were joking and still willing to try but they didn't want to hear it, then yea fuck 'em.
@utsavkumar4381
@utsavkumar4381 6 лет назад
Thanks Sir for the videos you make. About removing duplicates, if anyone does not want to use ES6, here is how it should be done in ES5. var a = [1,2,2,3,4]; a.filter(function(value, index) { return (a.indexOf(value) == index) });
@Techsithtube
@Techsithtube 6 лет назад
here i have a tutorial on how to remove duplicates multiple ways. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dvPybpgk5Y4.html
@thillabanyai
@thillabanyai 2 года назад
yes but he says you only have 1 line of code to solved it, and cannot use loops
@owaisali995
@owaisali995 2 года назад
and the problem with filters is it will take a lot of time to run, I mean running time is far more than SET that's why we should never use filter
@utsavkumar4381
@utsavkumar4381 2 года назад
@@owaisali995 i was not aware of this, can you explain a little more, or perhaps can share some material on this. Thanks in advance
@EdgarGarcia-jo5qp
@EdgarGarcia-jo5qp 4 года назад
For 3:00 question, I think in this solution that works for the input provided: var nums = [1,2,2,3]; nums.splice(2,1); console.log(nums); I know it looks a bit silly but, hey, I got the answer. Obviously, if there is more than one duplicate, then the Set works fine.
@priyanshubhardwaj2158
@priyanshubhardwaj2158 3 года назад
This vid was meant to subs both your channels. Thanks a ton!
@Techsithtube
@Techsithtube 3 года назад
Thanks for watching!
@TheRaghavboyz
@TheRaghavboyz 6 лет назад
oh god, i wish i never sit in front of you in a js interview.
@PradeepKumar-ku5pe
@PradeepKumar-ku5pe 6 лет назад
@ThuatNham Hey can you please share secrets to crack interview
@Tryston
@Tryston 6 лет назад
They aren't very good secrets if its in a youtube video!
@sarthaknegi847
@sarthaknegi847 6 лет назад
lol
@GhanshyamDobariya90
@GhanshyamDobariya90 5 лет назад
You must wish, if you want to learn more 😁
@talkohavy
@talkohavy 5 лет назад
I feel sorry for companies who ask these silly questions. This is the worst test possible to know if someone is an amazing programmer, a good programmer, a so so programmer, and someone who's really bad at programming that has no self awareness to how bad they really are. seriously, if it were me going through the interview, I would withdraw my application form, greet the interviewee in front of me and say "Thanks, but no thanks".
@justadev____7232
@justadev____7232 Год назад
Object.freeze ---> Prevent any write operations in that object. Object.seal ---> Able to edit existing data in the object, but not able to add anything new
@sidneysouthfield844
@sidneysouthfield844 4 года назад
8:43 - me at my homie house.
@daviddeleon3411
@daviddeleon3411 4 года назад
2:20 first I just did this let nums = [1, 2, 2, 3]; nums= [1, 2, 3]
@rishabhchopra883
@rishabhchopra883 2 года назад
Great video. Each question taught me a concept I barely knew. Thanks for this gem !!!
@Techsithtube
@Techsithtube 2 года назад
Glad it was helpful!
@davidsimoes6248
@davidsimoes6248 2 года назад
Great class and very well explained. Please keep this channel because I´m sure It has been helped a lot of developers which try learning more each single day like me. Thanks
@journiqeducacao91
@journiqeducacao91 2 года назад
I've been watching u for a while now, and your didactics (and thumbnails) are the best. Subscribed!
@i5artube
@i5artube 6 лет назад
After this one, I had to subscribe.
@Techsithtube
@Techsithtube 6 лет назад
Thanks for subscribing!
@shripriyaprabhakar7922
@shripriyaprabhakar7922 5 лет назад
Me too!
@DamianNAudio
@DamianNAudio 4 года назад
Reason behind "arguments" not working with arrow functions is that they take the scope of a parent block :3 so it actually shows parent function's arguments
@nosajghoul
@nosajghoul 6 лет назад
@7:00 thats pretty interesting, and depends on the direction of associativity. < and > (I hope those show up, less than and greater than) have left-to-right associativity. = (equals sign) has right-to-left associativity, which is why we can do a = b = 4 developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence
@ankush3707
@ankush3707 3 года назад
its like difference between these two .. console.log('1'+1+1)..and console.log(1+1+'1');
@gummiglas5571
@gummiglas5571 2 года назад
these questions are so good, they give you a deeper understanding of javascript
@ChristopherCricketWallace
@ChristopherCricketWallace 6 лет назад
These are all code puzzles (not challenges) that an interviewer would use in hopes of eliminating a candidate that they've already decided they don't want but have to appear to give them a fair chance. I would not want to work with a team that codes like that. And I sure wouldn't use their application. It would have a billion bugs.
@Techsithtube
@Techsithtube 6 лет назад
At my previous job, I have seen people making really silly mistakes and I realized that they never learned java Script fundamentals rather they jumped to a framework and paid the price.
@Gowaduv
@Gowaduv 6 лет назад
techsith Object.freeze is not JS fundamentals, it's minitiae that should be looked up to solve a specific problem.
@AP-ny3zg
@AP-ny3zg 6 лет назад
Hey @Christopher If we remove DS and Algorithm then what should be a challenges in JavaScript.
@Carl-yu6uw
@Carl-yu6uw 5 лет назад
Completely agree. For instance, whilst it can be useful to immediately know intricacies of performing stupid actions in dynamically / weakly typed languages it is far better not to code yourself into them, as one will evetually catch you out! Just because the language allows something, it doesn't necessarily make it sensible to do/ use. And I would also not wish ship code that will be a maintenance nightmare.
@darrallshamarwilliams7560
@darrallshamarwilliams7560 5 лет назад
Can u help me prepare for a java interview next week bro?
@andylinkOFFICIAL
@andylinkOFFICIAL 5 лет назад
I wouldn't ask these types of questions in an interview. If anyone wrote code that is so ambiguous, I would question their motives
@cancanjaker1620
@cancanjaker1620 4 года назад
True. These are questions for interviews. Not really what you will encounter in a code base, because it is really testing the edge cases of JS.
@Daniel_WR_Hart
@Daniel_WR_Hart 4 года назад
@@cancanjaker1620 I find that it helps to know these quirks so that you can figure out where/how a bug happened when you do something weird like numVariable + stringVariable by accident
@cancanjaker1620
@cancanjaker1620 4 года назад
@@Daniel_WR_Hart but when writing in an actual code base, you will know the type of variables you are getting and the code written should already handle the cases properly. Also if you consider unit testing, these types of variable quirky bugs are the most easiest to weed out without having to learn about JS "weirdness". As much as I like JS and all these interesting edge cases, code writing do not require developers to answer these from memory. Good code is clear and leave little room for these fun but hair-pulling quirks.
@Daniel_WR_Hart
@Daniel_WR_Hart 4 года назад
@@cancanjaker1620 But that's not necessarily the case if you're a noob working with a team of noobs and nobody knows what unit testing is. Lately I've been working hard to get gud so that won't be an issue anymore. Also, when working on my own personal projects, whenever I need to convert a string into a number I prefer string - 0; over parseFloat(string); since it's more concise and I already know at a glance what - 0 would be used for.
@cancanjaker1620
@cancanjaker1620 4 года назад
@@Daniel_WR_Hart a noob should be learning coding best practices and writing tests instead of getting smart with using quirky language behavior. Which is why most of these interview questions are for "feel good" and ego stroking. They don't indicate a good coder or a team player. With regards to using - 0, it is concise, but the intention of the code is murky, whereas parseFloat is immediately clear to everyone even a non-JS coder. Which means you save JS coder from have to spend time thinking of what - 0 will do, and also save confusion for new coder who move over from another language.
@sampa6722
@sampa6722 3 года назад
best explanations in most of the tutorials
@Techsithtube
@Techsithtube 3 года назад
Thanks for watching!
@subham-raj
@subham-raj 4 года назад
The second question would still take O(n) Time and space complexity, not using forloop doesn't mean that you improved it.
@jorgesepulveda8380
@jorgesepulveda8380 4 года назад
for the second problem, you can convert the array to a string, remove the first number 2 with replace() and then split the resulting string back into an array nums.toString().replace(/2,/, "").split(",")
@zionsandeep788
@zionsandeep788 4 года назад
The problem involves removing duplicates. Your solution will only remove 2. It will not work for any other duplicates
@arcosd63
@arcosd63 2 года назад
Great video! You're a very good instructor and easy to understand as well.
@sirens003
@sirens003 6 лет назад
// Keep in kind that Object.freeze(object) method is a "Shallow Freeze"! let obj = { name: 'Rango', address: { street: '33 eastbound', city: 'Toronto' } } Object.freeze(obj); obj.address.city = 'Montreal'; console.log(obj); // You will see the 'city' has been changed to 'Montreal'. // As, Object.freeze() method is a "Shallow Freeze" which will only protect upto one level deep. Hence, deeply nested Objects within that can still be modified.
@Techsithtube
@Techsithtube 6 лет назад
Yep. Good solution.
@vidyashevale2904
@vidyashevale2904 5 лет назад
Very important tutorial for fresher as well as experience person
@Vivekkanoje1989
@Vivekkanoje1989 5 лет назад
The unique values in new array can be achieved by Set object and spread operator as following, const numbers = [1,2,2,3]; let uniqueNumArr = [... new Set(numbers)]; console.log("Unique Array : ", uniqueNumArr);
@Techsithtube
@Techsithtube 5 лет назад
Yep that is the shortest way of doing it. :)
@sureshmg6786
@sureshmg6786 4 года назад
Day by day am becoming a pro developer watching your videos :)
@NuncNuncNuncNunc
@NuncNuncNuncNunc 4 года назад
Thank heaven's for Typescript. There was only one of these I got without thinking
@Techsithtube
@Techsithtube 4 года назад
Yes TypeScript is a blessing.
@PrashadDey
@PrashadDey 6 лет назад
Great teaching! I have been searching this kind of videos for a long time. Thanks.
@Vivekkanoje1989
@Vivekkanoje1989 5 лет назад
as "+" behaves as concatenate operator in first console JavaScript automatically converts int 2 to string and concatenate to result into = 22. While in second console log "-" acts as subtraction operator and converts string to integer and results to = 0.
@fazahmed4028
@fazahmed4028 4 года назад
I always try to get Why part of the answer. It makes me better developer and good at what I do at work. Its shame most people watch these tutorials for jobs! not become better.
@gouravkhator
@gouravkhator 2 года назад
If we need a revision of JavaScript, we watch your videos and interview questions.. Thank you so much
@gyaneshsaikhedkar1536
@gyaneshsaikhedkar1536 4 года назад
Dude you killed it ... Thank you so much for the tutorial!!
@sibashishpadhy1569
@sibashishpadhy1569 Год назад
I have no words to thank you sir.... it's really really very helpful and your explanation is great🙏🙏🙏
@philsitumorang
@philsitumorang 2 года назад
Thank you so much for these tricky things! Reallly useful.
@vipulzambare5329
@vipulzambare5329 6 лет назад
You not only taught us interview questions but also how to learn language passionately..!!
@Techsithtube
@Techsithtube 6 лет назад
To learn language passionately this video might help. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-X1omyGA67Vg.html
@adespade119
@adespade119 5 лет назад
Amazing how much I DON'T know, A great way to actually learn Javascript, or any language is to tackle questions like these, Learning New methods is never going to harm you as a programmer. I spent over ten years as a C++ programmer, one day, took an online course and realised I probably only knew about 10% - 20% of the language. Very nice video.
@AmanGupta_Dev
@AmanGupta_Dev 5 лет назад
The first problem you mentioned. the actual term used is Type coercion.
@Aj-cf6zw
@Aj-cf6zw 5 лет назад
Really need to thank you for a great in-depth video , i attended a client interview and i was able to answer it because of this .
@Techsithtube
@Techsithtube 5 лет назад
Glad to help out?
@zxxxaxxxixxxnxxx
@zxxxaxxxixxxnxxx 4 года назад
This video is a goldmine for a CS freshy
@shyam5631
@shyam5631 4 года назад
Sir, upload more videos. These videos are extremely useful. You are explaining things that people couldn't find in other tutorials.
@Techsithtube
@Techsithtube 4 года назад
Syam, I am glad that you are finding the videos very helpful. Keep I have lots of tutorials on fundamentals of JavaScript , Node, CSS , React and interview questions.
@MrB_eastt
@MrB_eastt 5 лет назад
Thank you so much for the video... helped me a lot.
@sanchit5764
@sanchit5764 3 года назад
good for interview practice in Javascript Frontend
@Techsithtube
@Techsithtube 3 года назад
Thanks for watching!
@anupal779
@anupal779 2 года назад
Q2--Remove duplicate from array Ans:- arr2 = [...new Set(arr)];
@webylancers5607
@webylancers5607 2 года назад
JazakAllah Aameen 🙏 🤲 😍
@codebite983
@codebite983 2 года назад
you are too good at explaining . how do you do this ! i understand even if it not understandable..........
@aishwaryshah3823
@aishwaryshah3823 4 года назад
Sir, you are grand master in JS. Thank you just keep us updating in js. 😊
@Techsithtube
@Techsithtube 4 года назад
Thank you, I will Aishwary!
@RM-cw1ix
@RM-cw1ix 3 года назад
I'm about to watch every video you have, this is amazing!!
@Techsithtube
@Techsithtube 3 года назад
Glad you like them! Thanks for watching!
@MohitFineLines
@MohitFineLines 3 года назад
Oh damn this is so tricky, then I think there should be many more tricks to ask these kind of questions. Thanks to Techsith
@Rockstervivek
@Rockstervivek 5 лет назад
Hello. Can i say something ? You are the best teacher of JS in the whole WEB :)
@someshnukala9126
@someshnukala9126 4 года назад
Yes True. He is outstanding really
@FatsFalafel
@FatsFalafel 4 года назад
If an employee asked me some of these questions in manner of practical application I probably wouldn't want the job.
@Techsithtube
@Techsithtube 4 года назад
Bailar, Seldom but people do ask these kinds of silly questions. But yeas if someone asked me such questions, I would not work there.
@scorpio9ification
@scorpio9ification 6 лет назад
Dude I love you, please keep these going
@piyushabhisheksingh2911
@piyushabhisheksingh2911 4 года назад
Quality content and youtube put restrictions on it. World can't be more unsafe than this.
@subhasism1890
@subhasism1890 6 лет назад
Great video sir.. Please keep posting such contents
@roshnikutty4252
@roshnikutty4252 6 лет назад
Awesome techsith!! This is very helpful.
@charuhas1602
@charuhas1602 3 года назад
Thanks Sir for this video ... it really help us
@frontenddeveloper4542
@frontenddeveloper4542 3 года назад
Thank god u r not my interviewer.... Well I'm a new subscriber.....
@Techsithtube
@Techsithtube 3 года назад
I am a reasonable interviewer, I would never ask anything like this. Unfortunately some people do ask this kind of questions. :)
@frontenddeveloper4542
@frontenddeveloper4542 3 года назад
@@Techsithtube thank you fa ur kind reply and making these kind of videos which is really helps to me fa preparing myself to face my interviews. ..
@shibiyazhini8692
@shibiyazhini8692 4 года назад
Thanks for this amazing video.. I was eagerly waiting for next next questions !!!!
@charleslueker2597
@charleslueker2597 3 года назад
Now I know what to ask incoming interviewees!
@Techsithtube
@Techsithtube 3 года назад
charles, dont scare the candidates with such questions. :)
@VinothKumar5403
@VinothKumar5403 6 лет назад
as usual awesome video from techsith..keep doing your great job sir.
@sudhakarlahane7229
@sudhakarlahane7229 6 лет назад
This is well explained excellent tutorial. In very short time you covered a lot. This is more useful beyond only pass the interviews.
@Techsithtube
@Techsithtube 6 лет назад
Thanks for the nice comment :) and thanks for watching!
@kramudu
@kramudu 2 года назад
Very useful information!
@samyethio
@samyethio 5 лет назад
would I be wrong if I said, " nums.splice(2, 1);" for the 2nd question? you said not to use some methods, I do know which one you meant. this is one line so it should give us the desired result.
@Techsithtube
@Techsithtube 5 лет назад
you can use splice. what I mean, trying out new things that you dont know may not know in an interview is a danger.
@ZeDon140
@ZeDon140 4 года назад
Cool video. Thanks for the information!
@hiteshlalwani939
@hiteshlalwani939 4 года назад
Thank you so much sir for these fantastic questions this helps me a lot
@alokranjan476
@alokranjan476 5 лет назад
Very nice video sir. Thanks a lot.
@АркадийЛаскин
@АркадийЛаскин 6 лет назад
Thank you very much for sharing I really appreciate it.
@laxmikantnimbalkar6512
@laxmikantnimbalkar6512 4 года назад
Thanks, I learnt new methods from this session.
@ZIONCSMX
@ZIONCSMX 4 года назад
Nice video, just like the past one
@Techsithtube
@Techsithtube 4 года назад
Glad you liked it
@kwoowoo828
@kwoowoo828 4 года назад
I always wonder what is the mindset of interviewer who ask difficult and tricky questions in interview. Is it to show to the interviewee that I (the interviewer) am better than you? That you are joining a "Great" company that will "teach" and "educate" you? These tricky question is a show of my superior intelligence to establish my position of authority? Most of the time, it is exactly this mindset (I have personally have sat among numerous panel of interviewers and being plugged in to their personality knows what is motivating their action). Then the question is why are you employing people who is inferior to you? What are you trying to achieve for the company? Does knowing all the obscure stuffs that majority of interviewee don't know make that one interviewee more superior? Does those obscure stuffs used frequently and critical to the success of the company? Imho, the mindset and attitude of the people you employ is more important that what he knows at the point of interview. Knowledge can be picked up and skill set can be honed. Mindset and attitude however is difficult to mold and tend to persist throughout a person's life. If you employ someone like the interviewer who is fond of asking tricky and difficult question, even though he knows ALOT, your company will never grow beyond the capability of that one interviewer's level because he is not comfortable to admit people who are more capable than him. I personally have lived through all these and I tell you that one interviewer is the biggest stumbling block to the company's growth in capability because no one can be better than him. Those who can successfully answer his tricky and difficult question are rejected while those who cannot, are admitted.
@channingfroom6701
@channingfroom6701 5 лет назад
let nums = [1,2,2,3]; let correctway = nums.filter(onlyUnique);
@Techsithtube
@Techsithtube 5 лет назад
what is onlyUnique?
@milindkhadse556
@milindkhadse556 2 года назад
Helpful tutorial thank you
@vikasshelake6321
@vikasshelake6321 4 года назад
excellent video
@shyarxelil1987
@shyarxelil1987 6 лет назад
Thanks for those amazing videos!!
@subhasism1890
@subhasism1890 6 лет назад
Sir please make a tutorials on complete nodejs like multar, body parser, jwt, files handling etc
@Techsithtube
@Techsithtube 6 лет назад
Sure . I have a plan for node tutorials.
@codelucky
@codelucky 5 лет назад
@@Techsithtube Have you made one? And yeah I just subd you.
@surferbum618
@surferbum618 6 лет назад
Thanks for the video. It's really helpful.
@singhsh7865
@singhsh7865 6 лет назад
interviewer from Tech M asked me the same exact question difference between console.log (55)
@rajatsaxena2647
@rajatsaxena2647 5 лет назад
Singh Sh He must have seen this video to ask questions from.
@JianluBi
@JianluBi 5 лет назад
I don't understand why there're so many haters... Those are actually good and valid tricky questions. Btw sir, you mentioned that you have another channel that teaches algorithm and data structures, where is the link?
@Techsithtube
@Techsithtube 5 лет назад
My other channel is interviewNest
@amitmaharana9228
@amitmaharana9228 3 года назад
Awesome video sir. Thank you
@ajinkya2323
@ajinkya2323 6 лет назад
thanks for everything ..a small request they usually interviewer ask ..where you have implemented this in project ,for closure and other things
@HardwareAddiction
@HardwareAddiction 5 лет назад
Not sure I understand why it would compare to -Infinity. It seems like it should see the length of arguments and return the first one if there's just one. If there are more, it should start comparing them to each other. Not sure how -Infinity logic comes into play. If you pass nothing, I'd actually expect it to return Infinity, not the opposite. I'm not sure if the way it works is based off how you do things in math or just a base assumption made by JavaScript authors.
@Techsithtube
@Techsithtube 5 лет назад
Lot of things in JS is based on how JS was written. So this is one of the things.
@ramnathan4236
@ramnathan4236 4 года назад
Awesome Sir!!
@vinoddonnennavar
@vinoddonnennavar 4 года назад
clearly explained sir. I faced some questions during my interview. Can you please explain them as well? these are the questions: console.log(!![].length); console.log(!!' '); console.log(1+2+"3"+4+5); console.log(1 + true); I have checked the answers but need to know thoroughly the theory behind it.
@Techsithtube
@Techsithtube 4 года назад
1) console.log(!![].length): is false because array length is 0 , !0 is true as it converts to true and !!0 converts to true. 2) console.log(!!' ') : same for the next but because " " has positive length , it would be reverse form the first example 3) next two are silly, answers are "3345" an 2.
@vinoddonnennavar
@vinoddonnennavar 4 года назад
techsith thank you so much 😊
@petardimitrov9232
@petardimitrov9232 3 года назад
Thanks a lot of man. Very interesting video.
@Techsithtube
@Techsithtube 3 года назад
Glad you liked it!
@rodiaz2709
@rodiaz2709 4 года назад
I loved this video, thanks !!
@bitannath3515
@bitannath3515 5 лет назад
Thanks a lot techsith!
@ayoubdouch6975
@ayoubdouch6975 11 месяцев назад
The job interview cant be hard . Techsith: hey 😊 Me: 😭😭😭
@User-xd5ou
@User-xd5ou 6 лет назад
Thank u soo much sir The way you explain all the questions is 1337(elite)
@Techsithtube
@Techsithtube 6 лет назад
Thanks buddy for watching, I really appropriate the comment!
@aniljadhav2399
@aniljadhav2399 4 года назад
@@Techsithtube Thank you so much :)
@agilewriters2233
@agilewriters2233 5 лет назад
Very cool stuff!
@RethinkingUI
@RethinkingUI 5 лет назад
Superb. Thanks Sir. Can you please do a video on typescript and es6 interview questions?
@akashpotdar6841
@akashpotdar6841 5 лет назад
Amazing content..! Question: Whats the difference between object.freeze and const?
@Techsithtube
@Techsithtube 5 лет назад
const wont let you replace the entire value of the object. with Object.freeze you can not change value of object properties. good question
@elEntrampe
@elEntrampe 5 лет назад
great info, I learn I lot from this.
@hans-detlefbrix8004
@hans-detlefbrix8004 6 лет назад
brilliant.....thanks a lot.... you are amazing !!!
@prasannanadpurohit4877
@prasannanadpurohit4877 5 лет назад
Hi sir I'm biggest fan of your tutorial. Its helping us too lot to gain our knowledge. I have a doubt sir can please explain how to skip a single num from an array for example if array a[1,2,3,4,5,6] and from this if i want to skip the 3 and show remain. Thank you sir.
@Techsithtube
@Techsithtube 5 лет назад
you can do let x = [1,2,3,4,5,6] x.splice(2,1) console.log(x)
@prasannanadpurohit4877
@prasannanadpurohit4877 5 лет назад
@@Techsithtube thank you very much sir....😇😇
@haul_network
@haul_network 3 года назад
time 11:45 can't we declare profile as const, instead using freeze?
@Archana1081990
@Archana1081990 5 лет назад
You are great. Hats off.
@Techsithtube
@Techsithtube 5 лет назад
Thanks for a nice comment archana keep on learning
@nirajkumarpatel6173
@nirajkumarpatel6173 2 года назад
a good set of questions well explained ty @techsith
@danielenocito5080
@danielenocito5080 2 года назад
Thank you! amazing
Далее
Top Tricky JavaScript Interview Questions and Answers
15:42
Tricky JavaScript interview questions and answers
21:01
Tricky CSS Interview Questions and Answers
13:09
Просмотров 43 тыс.
5 Essential JavaScript Interview Questions
20:32
Просмотров 91 тыс.
5 JavaScript Concepts You HAVE TO KNOW
9:38
Просмотров 1,4 млн
Top 10 JavaScript Interview Questions ( Part 2 )
13:05
Просмотров 291 тыс.
JavaScript Interview questions everyone gets wrong
6:40
Javascript Closure tutorial ( Closures Explained )
12:52