|
|
|
|
|
by riffraff
5123 days ago
|
|
I think there is a bit of an issue with _the code you don't write_ , because you rely on third parties. Today, I spent five minutes tracking down a SyntaxError: Unexpected token u
It was honestly hard to read this as "don't give an un-itialized value to this function or it will end up being passed to JSON.parse that will happily treat undefined as a string".I'd take a NullPointerException with a proper stacktrace everyday. |
|