← Back to challenges

Case Insensitive Comparison

JavaScriptHardstringsvalidationlanguage_fundamentals

Instructions

Write a function that validates whether two strings are identical. Make it case insensitive.

Examples

match("hello", "hELLo") ➞ true

match("motive", "emotive") ➞ false

match("venom", "VENOM") ➞ true

match("mask", "mAskinG") ➞ false

Notes

N/A

javascript
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: The Fifth Argument