Suche senden
Hochladen
Modules in ECMAScript 6.0
•
Als PPTX, PDF herunterladen
•
4 gefällt mir
•
1,859 views
Eyal Vardi
Folgen
Modules in ECMAScript 6.0
Weniger lesen
Mehr lesen
Software
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 15
Jetzt herunterladen
Empfohlen
Proxies in ECMAScript 6.0
Proxies in ECMAScript 6.0
Eyal Vardi
Objects & Classes in ECMAScript 6.0
Objects & Classes in ECMAScript 6.0
Eyal Vardi
Scope & Functions in ECMAScript 6.0
Scope & Functions in ECMAScript 6.0
Eyal Vardi
Async & Parallel in JavaScript
Async & Parallel in JavaScript
Eyal Vardi
Iterators & Generators in ECMAScript 6.0
Iterators & Generators in ECMAScript 6.0
Eyal Vardi
Is writing performant code too expensive?
Is writing performant code too expensive?
Tomasz Kowalczewski
Build Lightweight Web Module
Build Lightweight Web Module
Morgan Cheng
c++ Lecture 2
c++ Lecture 2
sajidpk92
Empfohlen
Proxies in ECMAScript 6.0
Proxies in ECMAScript 6.0
Eyal Vardi
Objects & Classes in ECMAScript 6.0
Objects & Classes in ECMAScript 6.0
Eyal Vardi
Scope & Functions in ECMAScript 6.0
Scope & Functions in ECMAScript 6.0
Eyal Vardi
Async & Parallel in JavaScript
Async & Parallel in JavaScript
Eyal Vardi
Iterators & Generators in ECMAScript 6.0
Iterators & Generators in ECMAScript 6.0
Eyal Vardi
Is writing performant code too expensive?
Is writing performant code too expensive?
Tomasz Kowalczewski
Build Lightweight Web Module
Build Lightweight Web Module
Morgan Cheng
c++ Lecture 2
c++ Lecture 2
sajidpk92
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
Ke Wei Louis
The Ring programming language version 1.5.1 book - Part 40 of 180
The Ring programming language version 1.5.1 book - Part 40 of 180
Mahmoud Samir Fayed
Specs Presentation
Specs Presentation
Synesso
ES6 Simplified
ES6 Simplified
Carlos Ble
Python Yield
Python Yield
yangjuven
Bootiful Development with Spring Boot and React
Bootiful Development with Spring Boot and React
VMware Tanzu
Android HttpClient - new slide!
Android HttpClient - new slide!
Chalermchon Samana
ES6 patterns in the wild
ES6 patterns in the wild
Joe Morgan
The Ring programming language version 1.5.3 book - Part 40 of 184
The Ring programming language version 1.5.3 book - Part 40 of 184
Mahmoud Samir Fayed
A gremlin in my graph confoo 2014
A gremlin in my graph confoo 2014
Damien Seguy
Programs
Programs
kulwinderbawa007
Un dsl pour ma base de données
Un dsl pour ma base de données
Romain Lecomte
The Ring programming language version 1.5.3 book - Part 41 of 184
The Ring programming language version 1.5.3 book - Part 41 of 184
Mahmoud Samir Fayed
누구나 할 수 있다 Networking
누구나 할 수 있다 Networking
Jungwon An
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Damien Carbery
Programação reativa e o actor model
Programação reativa e o actor model
Fabrício Rissetto
Tools for Solving Performance Issues
Tools for Solving Performance Issues
Odoo
#ajn3.lt.marblejenka
#ajn3.lt.marblejenka
Shingo Furuyama
Regular expressions, Alex Perry, Google, PyCon2014
Regular expressions, Alex Perry, Google, PyCon2014
alex_perry
Node.js Socket.IO
Node.js Socket.IO
Eyal Vardi
Node.js File system & Streams
Node.js File system & Streams
Eyal Vardi
Node js overview
Node js overview
Eyal Vardi
Weitere ähnliche Inhalte
Was ist angesagt?
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
Ke Wei Louis
The Ring programming language version 1.5.1 book - Part 40 of 180
The Ring programming language version 1.5.1 book - Part 40 of 180
Mahmoud Samir Fayed
Specs Presentation
Specs Presentation
Synesso
ES6 Simplified
ES6 Simplified
Carlos Ble
Python Yield
Python Yield
yangjuven
Bootiful Development with Spring Boot and React
Bootiful Development with Spring Boot and React
VMware Tanzu
Android HttpClient - new slide!
Android HttpClient - new slide!
Chalermchon Samana
ES6 patterns in the wild
ES6 patterns in the wild
Joe Morgan
The Ring programming language version 1.5.3 book - Part 40 of 184
The Ring programming language version 1.5.3 book - Part 40 of 184
Mahmoud Samir Fayed
A gremlin in my graph confoo 2014
A gremlin in my graph confoo 2014
Damien Seguy
Programs
Programs
kulwinderbawa007
Un dsl pour ma base de données
Un dsl pour ma base de données
Romain Lecomte
The Ring programming language version 1.5.3 book - Part 41 of 184
The Ring programming language version 1.5.3 book - Part 41 of 184
Mahmoud Samir Fayed
누구나 할 수 있다 Networking
누구나 할 수 있다 Networking
Jungwon An
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Damien Carbery
Programação reativa e o actor model
Programação reativa e o actor model
Fabrício Rissetto
Tools for Solving Performance Issues
Tools for Solving Performance Issues
Odoo
#ajn3.lt.marblejenka
#ajn3.lt.marblejenka
Shingo Furuyama
Regular expressions, Alex Perry, Google, PyCon2014
Regular expressions, Alex Perry, Google, PyCon2014
alex_perry
Was ist angesagt?
(19)
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
2014_07_28_Django環境安裝以及 Django Book Chapter 4: Templates
The Ring programming language version 1.5.1 book - Part 40 of 180
The Ring programming language version 1.5.1 book - Part 40 of 180
Specs Presentation
Specs Presentation
ES6 Simplified
ES6 Simplified
Python Yield
Python Yield
Bootiful Development with Spring Boot and React
Bootiful Development with Spring Boot and React
Android HttpClient - new slide!
Android HttpClient - new slide!
ES6 patterns in the wild
ES6 patterns in the wild
The Ring programming language version 1.5.3 book - Part 40 of 184
The Ring programming language version 1.5.3 book - Part 40 of 184
A gremlin in my graph confoo 2014
A gremlin in my graph confoo 2014
Programs
Programs
Un dsl pour ma base de données
Un dsl pour ma base de données
The Ring programming language version 1.5.3 book - Part 41 of 184
The Ring programming language version 1.5.3 book - Part 41 of 184
누구나 할 수 있다 Networking
누구나 할 수 있다 Networking
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Demystifying Hooks, Actions & Filters - WordCamp Belfast 2018
Programação reativa e o actor model
Programação reativa e o actor model
Tools for Solving Performance Issues
Tools for Solving Performance Issues
#ajn3.lt.marblejenka
#ajn3.lt.marblejenka
Regular expressions, Alex Perry, Google, PyCon2014
Regular expressions, Alex Perry, Google, PyCon2014
Andere mochten auch
Node.js Socket.IO
Node.js Socket.IO
Eyal Vardi
Node.js File system & Streams
Node.js File system & Streams
Eyal Vardi
Node js overview
Node js overview
Eyal Vardi
Node.js Event Emitter
Node.js Event Emitter
Eyal Vardi
Angular 2.0 forms
Angular 2.0 forms
Eyal Vardi
Angular 2.0 Views
Angular 2.0 Views
Eyal Vardi
Modules and injector
Modules and injector
Eyal Vardi
Angular 2.0 Pipes
Angular 2.0 Pipes
Eyal Vardi
Http Communication in Angular 2.0
Http Communication in Angular 2.0
Eyal Vardi
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Eyal Vardi
Nodejs
Nodejs
Eyal Vardi
Node.js Spplication Scaling
Node.js Spplication Scaling
Eyal Vardi
Routing And Navigation
Routing And Navigation
Eyal Vardi
Angular 2 NgModule
Angular 2 NgModule
Eyal Vardi
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Eyal Vardi
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Eyal Vardi
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
Eyal Vardi
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Eyal Vardi
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Eyal Vardi
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Eyal Vardi
Andere mochten auch
(20)
Node.js Socket.IO
Node.js Socket.IO
Node.js File system & Streams
Node.js File system & Streams
Node js overview
Node js overview
Node.js Event Emitter
Node.js Event Emitter
Angular 2.0 forms
Angular 2.0 forms
Angular 2.0 Views
Angular 2.0 Views
Modules and injector
Modules and injector
Angular 2.0 Pipes
Angular 2.0 Pipes
Http Communication in Angular 2.0
Http Communication in Angular 2.0
Angular 2.0 Routing and Navigation
Angular 2.0 Routing and Navigation
Nodejs
Nodejs
Node.js Spplication Scaling
Node.js Spplication Scaling
Routing And Navigation
Routing And Navigation
Angular 2 NgModule
Angular 2 NgModule
Upgrading from Angular 1.x to Angular 2.x
Upgrading from Angular 1.x to Angular 2.x
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
Angular 2.0 Dependency injection
Angular 2.0 Dependency injection
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Mehr von Eyal Vardi
Why magic
Why magic
Eyal Vardi
Smart Contract
Smart Contract
Eyal Vardi
Rachel's grandmother's recipes
Rachel's grandmother's recipes
Eyal Vardi
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)
Eyal Vardi
Angular 2 Architecture
Angular 2 Architecture
Eyal Vardi
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Eyal Vardi
Symbols in ECMAScript 6.0
Symbols in ECMAScript 6.0
Eyal Vardi
AngularJS Internal
AngularJS Internal
Eyal Vardi
Node.js Express
Node.js Express
Eyal Vardi
Mehr von Eyal Vardi
(9)
Why magic
Why magic
Smart Contract
Smart Contract
Rachel's grandmother's recipes
Rachel's grandmother's recipes
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture (Bucharest 26/10/2016)
Angular 2 Architecture
Angular 2 Architecture
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Symbols in ECMAScript 6.0
Symbols in ECMAScript 6.0
AngularJS Internal
AngularJS Internal
Node.js Express
Node.js Express
Kürzlich hochgeladen
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
ABDERRAOUF MEHENNI
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
shikhaohhpro
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
kellynguyen01
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ThousandEyes
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
MyIntelliSource, Inc.
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
kalichargn70th171
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
kalichargn70th171
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MyIntelliSource, Inc.
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Wave PLM
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
aagamshah0812
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ICS
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Steffen Staab
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Jhone kinadey
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Arshad QA
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
panagenda
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
OnePlan Solutions
Kürzlich hochgeladen
(20)
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Modules in ECMAScript 6.0
1.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
2.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
3.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
4.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com export const sqrt = Math.sqrt; export function square(x) { return x * x; } export function diag(x, y) { return sqrt(square(x) + square(y)); } import { square, diag } /* or '*' */ from 'lib'; console.log(square(11)); // 121 console.log(diag(4, 3)); // 5
5.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com //------ myFunc.js ------ export default function () { ... }; //------ main1.js ------ import myFunc from 'myFunc'; myFunc();
6.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com if (Math.random()) { exports.baz = ...; }
7.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com // Export lib export * from 'src/lib'; // Export from lib just foo and bar export { foo, bar } from 'src/lib'; // Export from lib, foo as myFoo export { foo as myFoo, bar } from 'src/other_module';
8.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
9.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com // Default exports and named exports import theDefault from 'src/mylib'; import { named1, named2 } from 'src/mylib'; import theDefault, { named1, named2 } from 'src/mylib'; // Renaming: import named1 as myNamed1 import { named1 as myNamed1, named2 } from 'src/mylib'; // Importing the module as an object import * as mylib from 'src/mylib'; // Only load the module import 'src/mylib';
10.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
11.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com import { url } from this module; console.log(url); // Option II import * as metaData from this module; console.log(metaData.url);
12.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com Promise.all( ['module1', 'module2', 'module3'] .map(x => System.import(x))) .then(function ([module1, module2, module3]) { ... });
13.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com
14.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com http://www.2ality.com/ Understanding ECMAScript 6 http://ecmascript6.org/ A Few New Things Coming To JavaScript HARMONY OF DREAMS COME TRUE Harmony specification_drafts
15.
© 2015 Eyal
Vardi. All rights reserved. Tel: 054-5-767-300, Email: evardi@gmail.com eyalvardi.wordpress.com
Jetzt herunterladen