Hello, thanks for viewing my profile. I'm a digital Marketing Specialist with web designing and SEO skill(2+ years experience). I'm also an expert in PPC, but I started off as a JavaScript developer.
This is what always haunts me and i'm not sure if that's the case with any other language? I used Python, C, C++ and VBA but such stuff is unseen there.
hi,it is a good article.but it has a problem:
Q20:
for your function ,it seemed wrong:
isIsomorphic('sad', 'egg') !== isIsomorphic('egg', 'sad')
my function:
function isIsomorphic(stra, strb) {
if (typeof stra === 'string' && typeof strb === 'string') {
const len = stra.length;
if (len !== strb.length) {
return false;
}
const mapa = {};
const mapb = {};
function countApperTimes(map, pro) {
map[pro] = map[pro] ? map[pro] + 1 : 1;
}
for (let i = 0; i < len; i++) {
const a = stra[i];
const b = strb[i];
countApperTimes(mapa, a);
countApperTimes(mapb, b);
if (mapa[a] !== mapb[b]) {
return false;
}
}
return true;
}
return false;
}
good article! I learned a few things
Q22 is not completely right according to me . this may refer the context of the definition with the arrow function.
(lexical scoping vs dynamic scoping)
Hello, thanks for viewing my profile. I'm a digital Marketing Specialist with web designing and SEO skill(2+ years experience). I'm also an expert in PPC, but I started off as a JavaScript developer.
Software engineer with 4+ years of experience in building products for numerous domains like fin-tech, real estate, video streaming, retail, and now e-commerce.
Great article!
For "Q11: How would you check if a number is an integer?" I recommend using:
As far as you are not tageting IE.
caniuse.com/#search=isInteger
i would like more of the articles that address performance of javascript under the hood like this one.
Q6: Explain Null and Undefined in JavaScript
Bonus point pointing out Null is an object, it's null-ness still takes up memory
nice, I was surprised most by the question 0.1+0.2===0.3.
This is what always haunts me and i'm not sure if that's the case with any other language? I used Python, C, C++ and VBA but such stuff is unseen there.
it's same in Python, C and C++
it's same in c# too but in goLang 0.1 + 0.2 == 0.3 is true :)
hi,it is a good article.but it has a problem:
Q20:
for your function ,it seemed wrong:
isIsomorphic('sad', 'egg') !== isIsomorphic('egg', 'sad')
my function:
good article! I learned a few things
Q22 is not completely right according to me .
thismay refer the context of the definition with the arrow function.(lexical scoping vs dynamic scoping)
It's great article indeed! , I shared in linkedIn and twitter, I am sure this will help javascript developers in their interviews.
Great article I really needed that quick revision 👍
very great, I was shocked most by the question 0.1+0.2===0.3.
Great Article. Thank you Dev Alex.👍
Great article! Thanks.
Excellent and insightful article!
I love this article. nice one!
Great article Alex!!
Nice. Thanks for sharing!
We also post real world frontend interview questions too. Check out devtools.tech/questions/all