Saturday, 20 May 2017

node.js version different values

Whats the difference between the two values

  1. in the terminal
    node -v
    v7.10.0

  2. in javascript
    const v = process.versions;
    alert(v.node);
    6.5.0



via hitchhiker

No comments:

Post a Comment