Ad
  • Custom User Avatar
  • Default User Avatar

    Like what XoRMiAS said, you're trying to match the typeof for the first argument and check if the first variable's typeof is equal to the second argument. So like in the description typeof 42 would equal "number". Then "number" === "number", which returns true. Where as typeof "42" would return "string", and string !== number, so it returns false.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution