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
		
- 
				
				 tizo5609yI've never heard of anyone using alerts. Seems weird to inspect an object with alerts. Would the object even be formatted? tizo5609yI'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








 What only relying on JavaScript for HTML form input validation looks like
What only relying on JavaScript for HTML form input validation looks like
 Found something true as 1 == 1
Found something true as 1 == 1
There are 2 types of developers. Console.log() and alert().
undefined
front-end
js
javascript