JS error: unexpected token u in JSON at position 0

At first glance, this error is confusing, but it is simply due to json.parse parsing of undefined.

JSON.parse is used somewhere, but the argument passed in is not a qualified JSON string.
Parse parse parse parse parse parse parse parse parse parse
Parse before you judge
 


Come from:
https://www.cnblogs.com/yangxunwu1992/p/8964780.html

Read More: