I am doing a job which involves javascript code that I didn’t write.
Currently I am stuck because the javascript code doesn’t ‘work’, instead of me putting all the code onto here and asking why it doesn’t work I would like to know how to stop the code to see if it is working –
At the moment I am using
alert("This code is good so far.");
but now I’m up to a class constructor and something, somewhere, isn’t talking to the database. 🙁
You should try using
console.log()with firefox or chrome. Works way better than alerts.