最初のタイプ:
(function(){console.log( 'hello world ")})(2番目のタイプ:
(function(){console.log( 'hello world')}())3番目のタイプ:
!function(){console.log( 'hello world')}()JSセルフコール匿名関数(推奨)を書く上記の3つの方法は、私があなたと共有するすべてのコンテンツです。参照を提供できることを願っています。wulin.comをもっとサポートできることを願っています。