Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Add typescript to the project, but don't wire it up to your build process. Even with pure vanillajs, its language service will call out the error and surface it in most IDEs.
-
trick0894y@SortOfTested but the strange thing is that "getArticlelist" (with lowercase 'l') should raise a "getArticlelist is not a function" error.
Instead I got this: 🖕
🤣 -
Root826004yWhy back in my day we didn’t even have syntax highlighting, and everything we wrote was in notepad!
We were glad when there was even a hint of documentation. It took me months to learn the name for a radio button!
You young whippersnappers and your two days wasted on some fancy colors we never even had. How about you use your real debuggers: your eyes! -
@Root
I walked three miles through the snow just to get to the spot where the punch cards went in. Then it was another 3 miles in non-euclidean space to get to the build terminal! -
trick0894y@SortOfTested @theuser Ow, that was really nothing special:
Just calling getArticlelist instead of getArticleList, the struggle was that usually that error is easily reported and I, a stupid dumbass, didn't think to check for a typo 🤣 -
Tried in Firefox? I've noticed that Chromium quite often doesn't point to the correct line or says it's an 'anonymous function' while its not.
Firefox hasn't don't this yet, in my case.
Related Rants
Lost 2 days with a non-highlighted error.
Vanilla JS:
Calling a function with a lower case character which shouldn't be lowercase.
I didn't never understood why neither VSCode nor Chrome showed the error.
rant
error
javascript
wk219
vscode
chrome
cries in javascript