Ad
  • Custom User Avatar

    The verb variable already includes a space at the end, that's why it's confusing.

  • Custom User Avatar

    I managed to complete this successfully.

    But I’m still a little confused.

    Is the verb and noun variable suppose to be join together as one or with a space between the two variables. Eg: “test it” or “testit”

    Because for me to get it to work the variables had to be joined together.

    But the sample test show them separated with a space between them as following;

    assert.isFunction(main)
    assert.strictEqual(main('take ', 'item'), 'take item')
    assert.strictEqual(main('use ', 'sword'), 'use sword')

    Or am I just reading this wrong.

    Thanks