Maximum call stack size exceeded error

后端 未结 30 2557
独厮守ぢ
独厮守ぢ 2020-11-21 23:51

I am using a Direct Web Remoting (DWR) JavaScript library file and am getting an error only in Safari (desktop and iPad)

It says

Maximum call

30条回答
  •  天涯浪人
    2020-11-22 00:32

    Sometimes happened because of convert data type , for example you have an object that you considered as string.

    socket.id in nodejs either in js client as example, is not a string. to use it as string you have to add the word String before:

    String(socket.id);
    

提交回复
热议问题