Ad
  • Default User Avatar
  • Default User Avatar

    I'm working in English. I use "return" to display the result. The code is working fine in VSCode in strict mode.

    Here is the error message:

    STDERR
    Unhandled rejection TestError: Expected: '1 * 5 = 5\n2 * 5 = 10\n3 * 5 = 15\n4 * 5 = 20\n5 * 5 = 25\n6 * 5 = 30\n7 * 5 = 35\n8 * 5 = 40\n9 * 5 = 45\n10 * 5 = 50', instead got: '1 * 5 = 5\n2 * 5 = 10\n3 * 5 = 15\n4 * 5 = 20\n5 * 5 = 25\n6 * 5 = 30\n7 * 5 = 35\n8 * 5 = 40\n9 * 5 = 45\n10 * 5 = 50\n'

  • Default User Avatar

    My code gives the same result as expected but all test were rejected. Why?