• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Ecma script 5
 

Ecma script 5

on

  • 510 views

Demo code https://github.com/AlexanderTarasyuk/ECMAScript5

Demo code https://github.com/AlexanderTarasyuk/ECMAScript5

Statistics

Views

Total Views
510
Views on SlideShare
509
Embed Views
1

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Ecma script 5 Ecma script 5 Presentation Transcript

    • The Future of JavaScript (ECMAScript-5) Alexander Tarasyuk
    • Array
        • indexOf()
        • lastIndexOf()
        • every()
        • filter()
        • forEach()
        • map()
        • some()
        • isArray()
        • reduce()
        • reduceRight()
      2
    • indexOf 3
    • lastIndexOf 4
    • every 5
    • filter 6
    • forEach 7
    • map 8
    • some 9
    • isArray 10
    • reduce 11
    • reduceRight 12
    • String
        • trim()
      13
    • Date
        • now()
        • toISOString()
      14
    • toISOString 15
    • Object
        • create()
        • defineProperty()
        • defineProperties()
        • keys()
        • getOwnPropertyDescriptor()
        • getOwnPropertyNames()
        • getPrototypeOf()
        • seal()
        • isSealed()
        • freeze()
        • isFrozen()
        • preventExtensions()
        • isExtensible()
      16
    • create 17
    • 18 Inheritance
    • 19 defineProperty
    • 20 writable, configurable, enumerable
    • 21 getters / setters
    • 22 keys
    • 23 getOwnPropertyNames
    • 24 getOwnPropertyDescriptor
    • 25 getPrototypeOf
    • 26 seal, isSealed
    • 27 freeze, isFrozen
    • 28 preventExtensions, isExtensible
    • JSON
        • parse()
        • stringify()
      29
    • parse 30
    • stringify 31
    • Function
        • bind()
      32
    • 33 bind
    • Strict Mode
        • eval('"010"')-  is a SyntaxError
        • eval('010')-  is a SyntaxError
        • __i_dont_exist = 1;  - is a ReferenceError
        • eval = 1; -  is a SyntaxError
        • arguments = 1; -  is a SyntaxError
        • eval++; -  is a SyntaxError
        • arguments++; -  is a SyntaxError
        • arguments.caller; -  is a TypeError
        • (function(x){ x = 2; return arguments[0] === 1; })(1);
        • (function(x){ arguments[0] = 2; return x === 1; })(1);
        • ({ x: 1, x: 1 }); -  is a SyntaxError
        • ({ set x(eval){ } }); -  is a SyntaxError
        • ({ set x(arguments){ } }); -  is a SyntaxError
        • eval('var x'); x; -  is a ReferenceError
        • (function(){ return this === undefined; })();
        • (function(){ return this === undefined; }).call();
        • var x; delete x; -  is a SyntaxError
        • delete (function(){}).length; -  is a TypeError
        • (function f() { f = 123; })() -  is a TypeError
        • Object.defineProperty({ }, "x", { writable: false }).x = 1
        • .......
      34
    • Compatibility table 35
    • ECMASCript-6
        • let
        • function main(a = 1) {} 
        • const
        • Proxy Objects
        • module
        • import
        • yield
        • ......
      36
    • Thank You