Giter Site home page Giter Site logo

Comments (7)

brendangraff23 avatar brendangraff23 commented on August 18, 2024 5

This error might be issued because string.toUpperCase() or string.toLowerCase() was missing parentheses at the end.

from javascript-intro-to-functions-lab-js-apply-000.

jpoze avatar jpoze commented on August 18, 2024 3

This happened to me, but the issue resolved when I fixed Logwhisper(String). I had erroneously put console.log(string.toLowerCase()); instead of console.log(string.toUpperCase());

The test wanted it to be whispered, and I had put it in caps. (Should have been toLowercase instead of toUppercase).

from javascript-intro-to-functions-lab-js-apply-000.

constgoh avatar constgoh commented on August 18, 2024

Hi there, this is still happening. Please advise on what we should do.
Thanks!

from javascript-intro-to-functions-lab-js-apply-000.

ritchey0713 avatar ritchey0713 commented on August 18, 2024

any resolve to this?

from javascript-intro-to-functions-lab-js-apply-000.

RWJL avatar RWJL commented on August 18, 2024

This error might be issued because string.toUpperCase() or string.toLowerCase() was missing parentheses at the end.
You hit the nail on the head!

from javascript-intro-to-functions-lab-js-apply-000.

gufu-j avatar gufu-j commented on August 18, 2024

Thanks jpoze, that really helped me. Had same issue now that suggestion fixed!, thank you

from javascript-intro-to-functions-lab-js-apply-000.

brooke-burris avatar brooke-burris commented on August 18, 2024
  1. logShout(string)
    takes a string argument and logs it in all caps using console.log():
    Error: spy was never called with [ 'HELLO' ]
    at assert (node_modules/expect/lib/assert.js:29:9)
    at Expectation.toHaveBeenCalledWith (node_modules/expect/lib/Expectation.js:333:28)
    at Context. (test/indexTest.js:26:17)
    at process.processImmediate (node:internal/timers:471:21)

I am receiving this error code and none of the above suggestions have solved this problem. Any other suggestions?

from javascript-intro-to-functions-lab-js-apply-000.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.