User Tools

Site Tools


javascript_faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
javascript_faq [2014/06/11 09:50]
mihael
javascript_faq [2014/06/12 12:31] (current)
mihael
Line 1: Line 1:
 ====== JavaScript ====== ====== JavaScript ======
  
-===== Environment ===== +===== Package Management ​=====
- +
-==== Package Management ====+
 NPM is used for package management. NPM is used for package management.
  
Line 11: Line 9:
 This will install ''​node''​ and ''​npm''​ in ''/​usr/​local/​bin''​. This will install ''​node''​ and ''​npm''​ in ''/​usr/​local/​bin''​.
  
-==== IDE ====+===== IDE =====
 Netbeans 8.0 has good JavaScript and even AngularJS support. Netbeans 8.0 has good JavaScript and even AngularJS support.
  
 See [[https://​blogs.oracle.com/​geertjan/​entry/​integrated_angularjs_development|Integrated AngularJS Development]] See [[https://​blogs.oracle.com/​geertjan/​entry/​integrated_angularjs_development|Integrated AngularJS Development]]
  
-=== Project Setup ===+==== Project Setup ====
 File ⇒ New Project ⇒ HTML5 sets up a JavaScript project. File ⇒ New Project ⇒ HTML5 sets up a JavaScript project.
  
Line 29: Line 27:
 needs to be executed from the command line in the project directory. needs to be executed from the command line in the project directory.
  
-===== Console Output ​=====+===== Libraries ===== 
 +  * [[https://​github.com/​Foxandxss/​angular-toastr | AngularJS Toaster Messages]] 
 +  * [[https://​github.com/​arunisrael/​angularjs-geolocation | AngularJS Browser Geo Location Service]] 
 + 
 + 
 +===== Tips ===== 
 + 
 +==== Console Output ====
 Output can be written by using the console. Output can be written by using the console.
  
   console.log("​My information"​);​   console.log("​My information"​);​
  
-===== Lifetime of Variables ​=====+==== Lifetime of Variables ====
 The lifetime of a JavaScript variable starts when it is declared. The lifetime of a JavaScript variable starts when it is declared.
  
Line 41: Line 46:
 Global variables are deleted when you close the page. Global variables are deleted when you close the page.
  
-===== Number Properties ​======+==== Number Properties =====
   * MAX_VALUE   * MAX_VALUE
   * MIN_VALUE   * MIN_VALUE
javascript_faq.txt · Last modified: 2014/06/12 12:31 by mihael