Fix the Expression

Published by Mubashir Hassan in

Fix the code in the Code tab so the function returns true if and only if x is equal to 7. Try to debug code and pass all the tests.

Examples

isSeven(4) ➞ false

isSeven(9) ➞ false

isSeven(7) ➞ true

Notes

The bug can be hard to find, so look closely!

Watch a quick demo on how Edabit works.