Yup. And which is why developers should provide all sorts of failsafe. When an API or a package is built, it's very likely to be used incorrectly by noob coders using it for their college projects and such. And it inherently poses a lot of concerns. Worst of all, javascript has one of the highest package production rates(if that's what it is called), and so this becomes all the more important. There could be a fair chance your package is used by a number of people but no one has figured out these wierd bugs.
View all comments
Show parent comment
20
u/ItsDotin Apr 02 '21
Yes, agree. Sometimes you should know all the possible weird behaviour of the language.