JSON parsing NaN, Infinite, and null (Node.js) ... console.log(JSON.parse(str)); // Object {n: null} str = '{ "x" : NaN }'; console.log(JSON.parse(str)); ...
確定! 回上一頁