run javascript sublime text 3
Create JavaScript build system in Sublime Text #
Every built system is described on JSON file with .sublime-build extension.
To create new one go to Tools > Build System > New Build System…
If you are mac OS user, copy and paste this bit of code:
!!! Remember to save the file as filename.sublime-build
{
"cmd": ["/usr/local/bin/node", "$file"],
"selector": "source.js"
}
If you are window user, copy and paste this bit of code:
{
"cmd": ["C:/Program Files/nodejs/node.exe", "$file"],
"selector": "source.js"
}
{
"cmd": ["/usr/local/bin/node", "$file"],
"selector": "source.js"
}
Also in JavaScript:
- render image url in react native
- get selected text js
- mdn js sort
- discord.js get attachment url
- javascript element by class
- js array.pop
- javascript turn string into array
- open html file in browser using package.json
- save object in localstorage shows [object Object]
- XJavascript:$.ge
- function expression
- how to check if an object from database is undefined in javascript
- openssl error Subject does not start with '/'
- react js download file
- memoization javascript
- how to avoid json decode problem in python
- for each python json
- set navigation drawer to open by default react native
- discord.js bad word filter
- python turnary
- mongodb find all that dont have property
- javascript compare maps
- format currency javascript
- react native text-input-mask this.props.refInput