Are the Numbers Equal?

Published by Erik Jacob in

Create a function that returns true when x is equal to y; otherwise return false.

Examples

isSameNum(4, 8) ➞ false

isSameNum(2, 2) ➞  true

isSameNum(42, 32) ➞  false

Notes

Don't forget to return the result.

Watch a quick demo on how Edabit works.