Ad
  • Default User Avatar

    Mostly there are more submit tests than example tests. There tests test more than the example tests.

    Did you check for null before?
    If the object is null, you cannot apply reduce for this.

    Hope this helps!

  • Default User Avatar

    why i got this error?

    TypeError: Cannot read property 'reduce' of null
    at sumArray
    at Object.handleError
    at ContextifyScript.Script.runInThisContext
    at Object.exports.runInThisContext

    my solution work fine but engine make error>?