2012-06-09 13 views

risposta

19

Corsa node --v8-options. Visualizza i vari flag che è possibile impostare per modificare il comportamento di V8

E.g. Le bandiere per le caratteristiche di armonia mostrano in là:

--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

nodo --v8-options | grep -C 1 armonia – shacharz

6

Se si applica l'interruttore --help al nodo dal guscio, si otterrà una lista di bandiere disponibili;

node --help 
Problemi correlati