在下面的代碼中,有可能使用this JavaScript變量reffering to myObject in all occurences? jsFiddle - open console function MyObject() {
this.myProperty = "a property";
console.log("1 - this is %o (%s) in MyOb
我已經開發一個JavaScript聊天(PHP的在後端)重複: 1) long-polling to get new messages for the receiver
2) sessionStorage to store the counter of messages
3) setInterval to read new messages and if sessionStorageCount