DEV Community šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’»

DEV Community šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Determine the Maximum Number
Jackson Reeves
Jackson Reeves

Posted on

Determine the Maximum Number

I overshot the goal on a homework assignment and came up with a function that would handle edge cases. It was just supposed to take in three distinct numerical inputs and determine which one was the largest. But I built my function to account for the possibility that two or even all three of the numbers might be identical, plus the possibility that one or all of the inputs might be non-numerical. It may have been overkill, but Iā€™m pretty proud of how much I nerded out here.

Top comments (0)

Visualizing Promises and Async/Await šŸ¤Æ

async await

ā˜ļø Check out this all-time classic DEV post