Comments (7)
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.
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.
Hi there, this is still happening. Please advise on what we should do.
Thanks!
from javascript-intro-to-functions-lab-js-apply-000.
any resolve to this?
from javascript-intro-to-functions-lab-js-apply-000.
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.
Thanks jpoze, that really helped me. Had same issue now that suggestion fixed!, thank you
from javascript-intro-to-functions-lab-js-apply-000.
- 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript-intro-to-functions-lab-js-apply-000.