Community
Participate
Working Groups
Created attachment 283130 [details] screenshot of error Sir/Mam, First of all, I am sorry for posting my javascript problem in Java section.I actually couldn't find where to post for javascript issues.So, I posted here. I had downloaded paho mqtt javascript file.After downloading the file,when I tried to open the paho mqtt(javascript) folder,it was showing an alet box error Line :116 Char: 3 Error: Expected identifier,string or number Code: 800A0404 Source: Microsoft JScript compilation error I had downloaded whole file from your official website and from github too, but it's not opening in my pc.I am attaching one screenshot of the error. Please help me fix this error. Thank you.
Apparently, this is not an IDE problem, right? Moving to paho to check if they can help.
Hi, Javascript was not really equal to Microsoft JScript. And there was not the right way to run *.js as you description and screenshot. More detail, please read nodejs.org. As that was the better way to play your javascript code on desktop. In simple way, you should download bbedit or vs-code. both had virtual browser even terminal to test your javascript code. Or you can download "play.js" or "Code" app to test your code on iPhone/iPad if you just want doing light-weight simple testing. had fun~