【node.js】サーバサイドjavascript 5【Nashorn】 (796レス)
【node.js】サーバサイドjavascript 5【Nashorn】 http://mevius.5ch.net/test/read.cgi/tech/1518528093/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
690: デフォルトの名無しさん [sage] 2021/11/27(土) 09:24:44.31 ID:LVgG7qhW >>688 それを知ってないと嵌るだけの無駄仕様だよ。 セミコロンなしの筆頭だったAirbnbも諦めたようだし。 > ASI contains a few eccentric behaviors, though, and your code will break if JavaScript misinterprets your line break. These rules will become more complicated as new features become a part of JavaScript. Explicitly terminating your statements and configuring your linter to catch missing semicolons will help prevent you from encountering issues. > https://github.com/airbnb/javascript#semicolons 他にセミコロンなしの有名ルール勢ってあったっけ? return 'qwerty' +'asdfgh'; とは書きたくなるだろ。書きたいように書けないのはよろしくないよ。今風ではないね。 セミコロン書くルールならASIなんて無い方がマシだし。 http://mevius.5ch.net/test/read.cgi/tech/1518528093/690
696: デフォルトの名無しさん [sage] 2021/11/27(土) 11:22:05.56 ID:xgA8vuBV >>690 Airbnbがセミコロンなしの筆頭って頭腐りすぎたろ git時代に歴史改ざんしてもすぐにバレる 2012年にセミコロンの章が初めて書かれたときからAirbnbはセミコロン派だ https://github.com/airbnb/javascript/blob/cab510342f93791a7487d16258d06ff73edb4507/README.md#semicolons http://mevius.5ch.net/test/read.cgi/tech/1518528093/696
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.034s