The “depends” Amazon JavaScript code challenge

Phone displaying Amazon logo
Photo by Christian Wiediger on Unsplash.

I recently went through my old dev projects and came across a JavaScript code challenge I did for Amazon. I had about half an hour to do it, and while I couldn’t complete it within that time frame back then, I decided to give it another try.

The challenge required…

Matthew Croak

Software Engineer & Blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store