Sitemap

Some JavaScript Exercises, Why? Interviews

2 min readOct 8, 2022

--

  1. In interviews they ask about or show weird and even bad code and they ask you to explain how does that work, perhaps to see if you know how the stuff works. A Quick example of that is below:

NOTE: The next exercise is pre-ES6 i.e. from before 2014. You might want to not just do it, but do it in ES6 as you go along with the PowerPoint & Video.

Get Ashraf Mohammad’s stories in your inbox

Join Medium for free to get updates from this writer.

2. This is a really good and marathon of a exercise by none other than Douglas Crockford. Thanks to him, he has it on his site as a PowerPoint : https://www.crockford.com/pp/fun.pptx and you also follow or start with the video to get an idea on how to attempt the question in the exercise. https://www.youtube.com/watch?v=Aa_OWn03mDo

3. This is to brush up your Algorithms and Data structures concepts. Thanks to Brian Holt, he has it public/free in text version(video course is paid) at: https://btholt.github.io/complete-intro-to-computer-science/intro. But, if you are a student at university and have an .edu email account you might be in luck and get a free access for this more at https://education.github.com/pack?utm_source=github+frontend+masters

NOTE: If you are not university student, an older video version of this might be taken using VScode Benefit, https://my.visualstudio.com/Benefits using which gives 1 month free access Pluralsight coursesOr sort of free by signing for a free trial, https://www.pluralsight.com/pricing/free-trial (beware, you will have to enter credit card detail & cancel within 7-10days) and then https://app.pluralsight.com/library/courses/four-semesters-computer-science/

There is always other resources, but I find these a good place to start.

--

--

Ashraf Mohammad
Ashraf Mohammad

Written by Ashraf Mohammad

Student of JavaScript, Python, A11y(WAS), Frontend, Web Apps …