Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mapeditor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Chatchawan Polmafoung
  • mapeditor
  • Wiki
  • ecmascript 6

ecmascript 6 · Changes

Page history
chatchawan created page: ecmascript 6 authored Aug 10, 2015 by Chatchawan Polmafoung's avatar Chatchawan Polmafoung
Show whitespace changes
Inline Side-by-side
ecmascript-6.markdown 0 → 100644
View page @ 1eab9c0d
EcmaScript 6.0 Walk through
====
### 1. Understanding variable declare and scope
| Declare | Scope |
| ---- | ---- |
| let | Block |
| var | Function |
| const | Block |
| function | Block |
| class | Block |
| import | Module-Global |
### 1.1 **var** vs **let** vs **const**
#### var
Simple variable declare in last javascript
#### let
let is like a **var** but it declares is block-scoped
#### const
Declare is block-scope like a **let** but it's value can't change
Clone repository
  • EcmaScript 6.0
  • crud service docs
  • ecmascript 6
  • Home