Equal or Unequal

# Introduction In this challenge, Tom wants to develop a basic API for JS unit testing on his own. He starts with writing a function to check if two data values are equal, but he is now stuck. The goal is to write a function called `expectFn` that can help developers test their code. It should accept any value as the parameter `val` and return an object that contains two functions: `toBe(val)` and `notToBe(val)`.

|60 : 00

Click the virtual machine below to start practicing