我是JS的新手.我试图在我的console.log中打印值.我收到以下错误:
VM1374:32 Uncaught TypeError: Converting circular structure to JSON(…)
Run Code Online (Sandbox Code Playgroud)
我的代码如下:
console.log("this.props.children[this.state.selected]---->" + JSON.stringify(this.props.children[this.state.selected]));
Run Code Online (Sandbox Code Playgroud)