Are the end results of the following jQuery snippets identical?
Snippet 1:
$(function() { alert(\'test!\'); });
Yes, this is identical. but the first one is usually used in jquery for easiness.
$(function() { alert('test!'); });