Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order by importance #208

Open
sheriffderek opened this issue Nov 9, 2021 · 4 comments
Open

Order by importance #208

sheriffderek opened this issue Nov 9, 2021 · 4 comments

Comments

@sheriffderek
Copy link

sheriffderek commented Nov 9, 2021

I'm not a prolific JS dev or anything, but "Call Stack" being #1 seems pretty unimportant. Most if not ALL devs I've ever worked with know very little about this. I'm not saying it isn't important (at least at a base level of understanding) but - is it the most important thing on this list if you were trying to teach your friend?

@jesusantguerrero
Copy link

In mid/senior-level interviews there are chances of live code sessions, where questions are about fundamental concepts or you would need to know fundamental concepts or understand how the language works to answer.

A basic example will be if they put some timeout and promises printing logs and ask you in what order the logs are going to be printed

You can check out the logic here.

https://www.jsv9000.app/?code=c2V0VGltZW91dChmdW5jdGlvbiBhKCkge2NvbnNvbGUubG9nKDEpfSwgMCk7CgpQcm9taXNlLnJlc29sdmUoKS50aGVuKGZ1bmN0aW9uIGIoKSB7CiAgY29uc29sZS5sb2coIjIiKQogIHJldHVybiBzZXRUaW1lb3V0KGZ1bmN0aW9uIGMoKSB7CiAgICBjb25zb2xlLmxvZygiMyIpCiAgfSkKfSkudGhlbihmdW5jdGlvbiBkKCkgewogIGZ1bmN0aW9uIGUoKSB7CiAgICBjb25zb2xlLmxvZyg0KQogIH0KICBlKCkKfSk7Cgpjb25zb2xlLmxvZyg1KQ%3D%3D

@sheriffderek
Copy link
Author

2 years later, I'm sure I haven't had to think about the call stack once in my real work. (I got pulled over by some email alerts) But - just tossing in another vote for that! : )

@anchitgupta01
Copy link

i think order will be from basic to advance to get learn things feasibly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@sheriffderek @jesusantguerrero @anchitgupta01 and others