Are the end results of the following jQuery snippets identical?
Snippet 1:
$(function() { alert(\'test!\'); });
The following code also working
$(document).ready(function(){ alert("success"); });
OR
$(function(){ alert("succes"); });