May 18, 2021 WeChat Mini Program Development Document
Console.log method is used to output information in the console window. It can accept multiple parameters and connect their results to the output.
Please refer to the ES5 standard for the specific use of the above properties.
Please refer to the ES5 standard for the specific use of the above methods.
Example code:
console.log(undefined === JSON.stringify());
console.log(undefined === JSON.stringify(undefined));
console.log("null"===JSON.stringify(null));
console.log("111"===JSON.stringify(111));
console.log('"111"'===JSON.stringify("111"));
console.log("true"===JSON.stringify(true));
console.log(undefined===JSON.stringify(function(){}));
console.log(undefined===JSON.parse(JSON.stringify()));
console.log(undefined===JSON.parse(JSON.stringify(undefined)));
console.log(null===JSON.parse(JSON.stringify(null)));
console.log(111===JSON.parse(JSON.stringify(111)));
console.log("111"===JSON.parse(JSON.stringify("111")));
console.log(true===JSON.parse(JSON.stringify(true)));
console.log(undefined===JSON.parse(JSON.stringify(function(){})));
Please refer to the ES5 standard for the specific use of the above properties.
Please refer to the ES5 standard for the specific use of the above properties.
Please refer to the ES5 standard for the specific use of the above properties.
Please refer to the ES5 standard for the specific use of the above methods.