javascript中的立即执行函数
$(function(){
alert();
}())
Highcharts的中的 series:[{
name: ‘今日在线人数‘,
color: ‘pink‘,
data: (function(){
)())
}]
#执行效果一样
$( document ).ready(function() { console.log( "ready!" ); });
和
$(function() { console.log( "ready!" ); });
原文:https://www.cnblogs.com/jw-yahui/p/10863701.html