2012-06-09 1 views

答えて

19

実行node --v8-options。 V8の動作を変更するために設定できるさまざまなフラグが表示されます

たとえば、ハーモニー機能のフラグがそこに表示:

--harmony_typeof (enable harmony semantics for typeof) 
    type: bool default: false 
--harmony_proxies (enable harmony proxies) 
    type: bool default: false 
--harmony_weakmaps (enable harmony weak maps) 
    type: bool default: false 
--harmony_block_scoping (enable harmony block scoping) 
    type: bool default: false 
+1

node --v8-options |グレープ-C 1ハーモニー – shacharz

6

あなたはシェルからノードに--helpスイッチを適用した場合、使用可能なフラグのリストを取得します。

node --help 
関連する問題