討論 » 開發
Setting function to variable
The script below use to work but now it doesn't. Can someone tell me why it fails and how I can get it working. Thanks
log.info = console.info; log.log("TEST");
log = console.log.bind(console); log("TEST");
This works if it's what you want to do.
Thank you. Works well.
登入以回復
Setting function to variable
The script below use to work but now it doesn't. Can someone tell me why it fails and how I can get it working. Thanks