#Data Types Compare and return results, based on the argument supplied to the function.
Follow through the test to produce the perfect function that accounts for all expectations.
- Clone the repository
- Open index.html in your browser to see the currently failing test specs you are to pass
- Open the repository in your favorite text editor to explore the different files
- Open js\data-types.js and write the function(s) or lines of code to pass the tests
- You could refresh index.html in your browser intermittently to see the status of test specs.
##Notes
-
Prior understanding of Javascript classes, returning and conditional statements will be required to complete this exercise.
-
Remember that passing code is just the first step. The goal is to work towards a solution that is as readable and expressive as you can make it.
-
Please make your solution as general as possible. Good code doesn't just pass the test suite, it works with any input that fits the specification.
Have fun!