Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tizo5658yI've never heard of anyone using alerts. Seems weird to inspect an object with alerts. Would the object even be formatted?
-
alert(JSON.serialize(object));
good thing about alert is that it pauses execution of script (but some browsers now think that it is good idea to remove such feature) -
@MaxDeepField if pausing execution is something you prefer, how about checking out Chrome's "debugger" statement? Does exactly that.
Related Rants
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
Kalvin17How does a front-end developer get away with murder? $('body').hide(); //I'll see myself out
There are 2 types of developers. Console.log() and alert().
undefined
front-end
js
javascript