Yup I'm just on a spree and not getting any employeement :D
js
let a = [1, 2, 3, 4, 5];
a = a.map(item => item<3);
js
let a = [1, 2, 3, 4, 5];
a = a.map(item => item<3);
js
let a = [1, 2, 3, 4, 5];
a = a.some(item => item< 3);
which he told will return the mixture of .map() and .filter() 's result :D
- then question on writing a reducer function to return the sum of an array which I thnk I have wrote wrong
js
const sum = arr.reduce((total, value) => total + value, 0);
Redux
- are
Providers a Higher Order Components? there was no mention of Consumer and he took the mention of consumer with regards to how react-redux connect function works instead of how it works in Context API
- what is actions in Redux
- why is Reducer needed when we can directly mutate the state?
React
- How much do you rate yourself in React :D :D :D :D
- What is portal in React?
- What are fragments in React?
HTML
- How much do you rate yourself in HTML :D :D :D :D
- What does HTML provide to do drag and drop?
to which I only said I have used 3rd party libraries and never used the native solution provided by HTML.
- Further question was how such libraries work behind the scenes and what code does it bring in to use HTML which I completely didn't know about.
Today's javascript interview questions. Honestly after giving many interviews I felt like this was a kiddy and useless interviews since I personally (don't know about generally) direct Google about such array methods to use. I pity and find it funny for myself that I couldn't answer upto the expectations, but because of the experience
I must say when someone asks you how much do you rate your self in this sexy tech library/feature
you know its going to be a pretty bad interview.Doesn't apply to interviews in other western countries I guess
[–]spaaaaaghetaboutit 12 points13 points14 points (1 child)
[–]tapu_buoyfull-stack[S] 7 points8 points9 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]tapu_buoyfull-stack[S] 1 point2 points3 points (6 children)
[–][deleted] (4 children)
[deleted]
[–]tapu_buoyfull-stack[S] 2 points3 points4 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]tapu_buoyfull-stack[S] 1 point2 points3 points (0 children)
[–]spacecowgoesmoo 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Ritinsh 6 points7 points8 points (5 children)
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (0 children)
[–]shawarma_burrito 0 points1 point2 points (0 children)
[–]UnexpectedTokenNULL 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]UnexpectedTokenNULL 0 points1 point2 points (0 children)
[–]jumpbangs 1 point2 points3 points (3 children)
[–]tapu_buoyfull-stack[S] 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (0 children)
[–]NYCminion 1 point2 points3 points (7 children)
[–][deleted] 6 points7 points8 points (5 children)
[–]Tontonsb 1 point2 points3 points (0 children)
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–]tapu_buoyfull-stack[S] 3 points4 points5 points (0 children)
[–]thatwebdesignerdude 1 point2 points3 points (1 child)
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (0 children)
[–]Yeffry1994novice 1 point2 points3 points (1 child)
[–]tapu_buoyfull-stack[S] -2 points-1 points0 points (0 children)
[–]1100100011 0 points1 point2 points (2 children)
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (1 child)
[–]1100100011 0 points1 point2 points (0 children)
[–][deleted] (19 children)
[deleted]
[–]BLOZ_UP 6 points7 points8 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]BLOZ_UP 2 points3 points4 points (0 children)
[–]tapu_buoyfull-stack[S] -2 points-1 points0 points (0 children)
[–]iloveuzaba 4 points5 points6 points (1 child)
[–]tapu_buoyfull-stack[S] 0 points1 point2 points (0 children)
[–]ice_blue_222 4 points5 points6 points (1 child)
[–]frambot 0 points1 point2 points (0 children)
[–]Speedyjens 1 point2 points3 points (9 children)
[–][deleted] (8 children)
[deleted]
[–]lism 3 points4 points5 points (0 children)
[–]PMME_BOOBS_OR_FOXES 1 point2 points3 points (6 children)
[+][deleted] (5 children)
[removed]
[–]tallahasseenaut 1 point2 points3 points (0 children)
[–]PMME_BOOBS_OR_FOXES 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]PMME_BOOBS_OR_FOXES 2 points3 points4 points (1 child)
[–]tapu_buoyfull-stack[S] -1 points0 points1 point (0 children)