Submit Search
Upload
Es6 good parts
•
0 likes
•
357 views
Антон Плешивцев
Follow
Some of ES6 features
Read less
Read more
Technology
Report
Share
Report
Share
1 of 19
Download now
Download to read offline
Recommended
Object-Oriented Javascript
Object-Oriented Javascript
kvangork
Symfony2 Building on Alpha / Beta technology
Symfony2 Building on Alpha / Beta technology
Daniel Knell
Chainable datasource
Chainable datasource
CocoaHeads France
Dion Almaer & Ben Galbraith - Build Once, Deploy Everywhere
Dion Almaer & Ben Galbraith - Build Once, Deploy Everywhere
Carsonified Team
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Eyal Vardi
AngularJS $Provide Service
AngularJS $Provide Service
Eyal Vardi
스위프트를 여행하는 히치하이커를 위한 스타일 안내
스위프트를 여행하는 히치하이커를 위한 스타일 안내
Jung Kim
Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9
Bongwon Lee
Recommended
Object-Oriented Javascript
Object-Oriented Javascript
kvangork
Symfony2 Building on Alpha / Beta technology
Symfony2 Building on Alpha / Beta technology
Daniel Knell
Chainable datasource
Chainable datasource
CocoaHeads France
Dion Almaer & Ben Galbraith - Build Once, Deploy Everywhere
Dion Almaer & Ben Galbraith - Build Once, Deploy Everywhere
Carsonified Team
Angular 1.x vs. Angular 2.x
Angular 1.x vs. Angular 2.x
Eyal Vardi
AngularJS $Provide Service
AngularJS $Provide Service
Eyal Vardi
스위프트를 여행하는 히치하이커를 위한 스타일 안내
스위프트를 여행하는 히치하이커를 위한 스타일 안내
Jung Kim
Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9
Bongwon Lee
節子、それViewControllerやない...、FatViewControllerや...。
節子、それViewControllerやない...、FatViewControllerや...。
Kenji Tanaka
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Eyal Vardi
Bacbkone js
Bacbkone js
Артём Курапов
Drupal sins 2016 10-06
Drupal sins 2016 10-06
Aaron Crosman
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
jQuery: out with the old, in with the new
jQuery: out with the old, in with the new
Remy Sharp
Fact, Fiction, and FP
Fact, Fiction, and FP
Brian Lonsdorf
Advanced jQuery
Advanced jQuery
sergioafp
Universal JavaScript
Universal JavaScript
名辰 洪
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Eyal Vardi
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
Kenji Tanaka
201104 iphone navigation-based apps
201104 iphone navigation-based apps
Javier Gonzalez-Sanchez
Keep It Simple Security (Symfony cafe 28-01-2016)
Keep It Simple Security (Symfony cafe 28-01-2016)
Oleg Zinchenko
How I started to love design patterns
How I started to love design patterns
Samuel ROZE
Angular 2.0 Views
Angular 2.0 Views
Eyal Vardi
Undrop for InnoDB
Undrop for InnoDB
Aleksandr Kuzminsky
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Eyal Vardi
Keeping It Simple
Keeping It Simple
Stephanie Leary
Symfony CoP: Form component
Symfony CoP: Form component
Samuel ROZE
AST Rewriting Using recast and esprima
AST Rewriting Using recast and esprima
Stephen Vance
Object-Oriented JavaScript
Object-Oriented JavaScript
kvangork
You will learn RxJS in 2017
You will learn RxJS in 2017
名辰 洪
More Related Content
What's hot
節子、それViewControllerやない...、FatViewControllerや...。
節子、それViewControllerやない...、FatViewControllerや...。
Kenji Tanaka
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Eyal Vardi
Bacbkone js
Bacbkone js
Артём Курапов
Drupal sins 2016 10-06
Drupal sins 2016 10-06
Aaron Crosman
AngularJS Compile Process
AngularJS Compile Process
Eyal Vardi
jQuery: out with the old, in with the new
jQuery: out with the old, in with the new
Remy Sharp
Fact, Fiction, and FP
Fact, Fiction, and FP
Brian Lonsdorf
Advanced jQuery
Advanced jQuery
sergioafp
Universal JavaScript
Universal JavaScript
名辰 洪
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
Eyal Vardi
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
Kenji Tanaka
201104 iphone navigation-based apps
201104 iphone navigation-based apps
Javier Gonzalez-Sanchez
Keep It Simple Security (Symfony cafe 28-01-2016)
Keep It Simple Security (Symfony cafe 28-01-2016)
Oleg Zinchenko
How I started to love design patterns
How I started to love design patterns
Samuel ROZE
Angular 2.0 Views
Angular 2.0 Views
Eyal Vardi
Undrop for InnoDB
Undrop for InnoDB
Aleksandr Kuzminsky
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Eyal Vardi
Keeping It Simple
Keeping It Simple
Stephanie Leary
Symfony CoP: Form component
Symfony CoP: Form component
Samuel ROZE
What's hot
(19)
節子、それViewControllerやない...、FatViewControllerや...。
節子、それViewControllerやない...、FatViewControllerや...。
Template syntax in Angular 2.0
Template syntax in Angular 2.0
Bacbkone js
Bacbkone js
Drupal sins 2016 10-06
Drupal sins 2016 10-06
AngularJS Compile Process
AngularJS Compile Process
jQuery: out with the old, in with the new
jQuery: out with the old, in with the new
Fact, Fiction, and FP
Fact, Fiction, and FP
Advanced jQuery
Advanced jQuery
Universal JavaScript
Universal JavaScript
Angular 2 - Ahead of-time Compilation
Angular 2 - Ahead of-time Compilation
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
VC「もしかして...」Model「私たち...」「「入れ替わってるー!?」」を前前前世から防ぐ方法
201104 iphone navigation-based apps
201104 iphone navigation-based apps
Keep It Simple Security (Symfony cafe 28-01-2016)
Keep It Simple Security (Symfony cafe 28-01-2016)
How I started to love design patterns
How I started to love design patterns
Angular 2.0 Views
Angular 2.0 Views
Undrop for InnoDB
Undrop for InnoDB
Performance Optimization In Angular 2
Performance Optimization In Angular 2
Keeping It Simple
Keeping It Simple
Symfony CoP: Form component
Symfony CoP: Form component
Similar to Es6 good parts
AST Rewriting Using recast and esprima
AST Rewriting Using recast and esprima
Stephen Vance
Object-Oriented JavaScript
Object-Oriented JavaScript
kvangork
You will learn RxJS in 2017
You will learn RxJS in 2017
名辰 洪
ES6 Overview
ES6 Overview
Bruno Scopelliti
Protractor Training in Pune by QuickITDotnet
Protractor Training in Pune by QuickITDotnet
QuickITDotNet Training and Services
Protractor Training - Online training On Skype
Protractor Training - Online training On Skype
QuickITDotNet Training and Services
AST - the only true tool for building JavaScript
AST - the only true tool for building JavaScript
Ingvar Stepanyan
Workshop 5: JavaScript testing
Workshop 5: JavaScript testing
Visual Engineering
Taming forms with React
Taming forms with React
GreeceJS
groovy databases
groovy databases
Paul King
Javascript
Javascript
Vlad Ifrim
Nodejs do teste de unidade ao de integração
Nodejs do teste de unidade ao de integração
Vinícius Pretto da Silva
Javascript Basics
Javascript Basics
msemenistyi
Wakanday JS201 Best Practices
Wakanday JS201 Best Practices
Juergen Fesslmeier
Academy PRO: ES2015
Academy PRO: ES2015
Binary Studio
Developing web-apps like it's 2013
Developing web-apps like it's 2013
Laurent_VB
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Valdis Iljuconoks
Report: Avalanche 'very likely' to host outdoor game at Coors Field
Report: Avalanche 'very likely' to host outdoor game at Coors Field
fabulouspsychop39
JS Fest 2019 Node.js Antipatterns
JS Fest 2019 Node.js Antipatterns
Timur Shemsedinov
Migrating from Flux to Redux. Why and how.
Migrating from Flux to Redux. Why and how.
Astrails
Similar to Es6 good parts
(20)
AST Rewriting Using recast and esprima
AST Rewriting Using recast and esprima
Object-Oriented JavaScript
Object-Oriented JavaScript
You will learn RxJS in 2017
You will learn RxJS in 2017
ES6 Overview
ES6 Overview
Protractor Training in Pune by QuickITDotnet
Protractor Training in Pune by QuickITDotnet
Protractor Training - Online training On Skype
Protractor Training - Online training On Skype
AST - the only true tool for building JavaScript
AST - the only true tool for building JavaScript
Workshop 5: JavaScript testing
Workshop 5: JavaScript testing
Taming forms with React
Taming forms with React
groovy databases
groovy databases
Javascript
Javascript
Nodejs do teste de unidade ao de integração
Nodejs do teste de unidade ao de integração
Javascript Basics
Javascript Basics
Wakanday JS201 Best Practices
Wakanday JS201 Best Practices
Academy PRO: ES2015
Academy PRO: ES2015
Developing web-apps like it's 2013
Developing web-apps like it's 2013
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Report: Avalanche 'very likely' to host outdoor game at Coors Field
Report: Avalanche 'very likely' to host outdoor game at Coors Field
JS Fest 2019 Node.js Antipatterns
JS Fest 2019 Node.js Antipatterns
Migrating from Flux to Redux. Why and how.
Migrating from Flux to Redux. Why and how.
More from Антон Плешивцев
1k speedup
1k speedup
Антон Плешивцев
How to create modern web application (about Virool mobile player)
How to create modern web application (about Virool mobile player)
Антон Плешивцев
CodeFest dirty facts about AngularJS
CodeFest dirty facts about AngularJS
Антон Плешивцев
Повышение конверсии через оптимизацию JS
Повышение конверсии через оптимизацию JS
Антон Плешивцев
Frontend for the win
Frontend for the win
Антон Плешивцев
как мы сделали поисковой движок
как мы сделали поисковой движок
Антон Плешивцев
Why fp
Why fp
Антон Плешивцев
Happydev presentation soa
Happydev presentation soa
Антон Плешивцев
Happydev presentation angular
Happydev presentation angular
Антон Плешивцев
интерфейсы3 ppt
интерфейсы3 ppt
Антон Плешивцев
More from Антон Плешивцев
(10)
1k speedup
1k speedup
How to create modern web application (about Virool mobile player)
How to create modern web application (about Virool mobile player)
CodeFest dirty facts about AngularJS
CodeFest dirty facts about AngularJS
Повышение конверсии через оптимизацию JS
Повышение конверсии через оптимизацию JS
Frontend for the win
Frontend for the win
как мы сделали поисковой движок
как мы сделали поисковой движок
Why fp
Why fp
Happydev presentation soa
Happydev presentation soa
Happydev presentation angular
Happydev presentation angular
интерфейсы3 ppt
интерфейсы3 ppt
Recently uploaded
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
WSO2
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Recently uploaded
(20)
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Es6 good parts
1.
ES6 Good parts
2.
3.
Arrows
4.
...forEach((in) -> { console.log(in); })
5.
Destructuring
6.
var {map_trackings} =
require('./js/tracks');
7.
Classes
8.
class BackfillLoader { constructor(params={}){ this.id
= _.uniqueId(); } runVisibilityChecker(){ this.visibility_checker = setTimeout(() => { this.checkIframeVisibility(); }, CHECK_INTERVAL); } }
9.
Better strings
10.
this.iframe = $(`<div
id='container_${this.id}'> <p>Container</p> </div>`).attr(this.params);
11.
Generators
12.
function(){ ... ... ... }
13.
function*(){ ... ... ... }
14.
function*(){ ... ... ... }
15.
async(function *() { var
widgetConfig = yield $.get(`https:// api.virool.com/data`); process(widgetConfig);
16.
async(function *() { var
id = yield $.get(`https://api.virool.com/id`); var data = yield $.get(`https://api.virool.com/${id}`); process(data);
17.
function* player(name, table)
{ while (true) { var ball = yield csp.take(table); if (ball === csp.CLOSED) { console.log(name + ": table's gone"); return; } ball.hits += 1; console.log(name + " " + ball.hits); yield csp.timeout(100); yield csp.put(table, ball); } } csp.go(function* () { var table = csp.chan(); csp.go(player, ["ping", table]); csp.go(player, ["pong", table]); yield csp.put(table, {hits: 0}); yield csp.timeout(1000); table.close(); });
18.
postMessage.addJsonListener((message) => { switch(message.type){ case
'init_player': init_player(_.extend({}, CUSTOM_CONFIG, message.config)); return; case 'play': PLAYER.getPlugin('ova').play(); return;
19.
go(function*(){ {type, data} =
yield postMessageChannel.take() switch(message.type){ case 'init_player': ... } })
Download now