computingFreedom | Build | Picolisp | Picolisp Machine | Pil Sources | Linux | BASH | C-Programmming | Operating Systems | Javascipt | Emacs | vim | Pharo Smalltalk | Computer Security | Python |

Javascript

  • Node JS
  • Meteor JS
  • The Weird Behaviour
  • Javascript is just full of really odd behaviour. I think it good to grok this before anything else: "use strict";
  • Data Types
  • Variables
  • There are three ways of variable declaration:
    1. let
    2. const
    3. var
    “var” has no block scope. Variables, declared with var, are either function-scoped or global-scoped. “var” tolerates redeclarations If we declare the same variable with let twice in the same scope, that’s an error. “var” variables can be declared below their use. Declarations are hoisted, but assignments are not.
    let message;
    
    let message = 'Hello!';
    
    let user = 'John', age = 25, message = 'Hello';
    
    let user = 'John'
      , age = 25
      , message = 'Hello';
    
    var message = 'Hello';
    
    
  • Scope and Environment
  • Objects
  • Functions
  • Events
  • Reading List & Links

    http://thevikidtruth.com/5000/?javascript

    25aug21   admin