Bonnes Pratiques Web & Cloud
58.8K views | +0 today
Follow
Bonnes Pratiques Web & Cloud
Administration cloud et développement web
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'ES6'. Clear
Scooped by Mickael Ruau
Scoop.it!

10 ES6 Feature everyone should use | by Jahid Apu

10 ES6 Feature everyone should use | by Jahid Apu | Bonnes Pratiques Web & Cloud | Scoop.it
Our code occasionally produces some line value. For example, 20 + 20 is equal to 40. Again some codes only take action. Such as conditional statements. These do not produce any value; take certain…
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Quick Practical Guide for ES6

Quick Practical Guide for ES6 | Bonnes Pratiques Web & Cloud | Scoop.it
Explore ES6 by comparing the new features to ES5. Discover best practices for using ES6 in your projects and review examples tested on Chrome's developer console.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

ES6: Understanding the destructuring assignment syntax in Javascript

The ECMAscript 6 specification introduced a new syntax which makes it easier to get values out of arrays and objects. We call this syntax “destructuring”.

 

The destructuring assignment syntax allows you to easily get values out of arrays and objects while using an array or object literal like syntax. This syntax is very short and very easy to read.

Without using the destructuring syntax getting multiple values out of an array can be quite cumbersome.

No comment yet.
Rescooped by Mickael Ruau from JavaScript for Line of Business Applications
Scoop.it!

Totally Tooling Tips with Addy Osmani & Matt Gaunt - YouTube

In 'Totally Tooling Tips' web developers Matt and Addy discuss the latest topics, issues and work arounds for building apps and libraries to help mop up your Totally Tooling Tears.


Via Jan Hesse
No comment yet.
Rescooped by Mickael Ruau from Web Increase
Scoop.it!

Transpiling ES6 | CSS-Tricks

Transpiling ES6 | CSS-Tricks | Bonnes Pratiques Web & Cloud | Scoop.it
While support for ES6 is always increasing, we can't always assume that users will be using a browser that supports all its features. So, in order to utili
Via Jean-Jacques Roland
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Quick Practical Guide for ES6: Part 2

Quick Practical Guide for ES6: Part 2 | Bonnes Pratiques Web & Cloud | Scoop.it
JavaScript ES6 features, comparison with ES5, ES6 best practices, and examples tested on Chrome developer console: all in Part 2 of the ES6 series.
Mickael Ruau's insight:

Bonus: Shallow and Deep Copy in JavaScript

Shallow copy means the memory location of both objects will be the same. So if you change the property value of the copy object, the property value of the original object will also change at deep level of object. A shallow copy will duplicate the top-level properties, but the nested object is shared between the original (source) and the copy (target). But in deep copy, the memory locations will be different/separated. Changing the property values of copies object will not change the original one.

Shallow copy example: The Object.assign() method is used to copy the values of properties from one or more source objects to a target object:

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Apperçu des fonctionnalités de JavaScript ES6

Apperçu des fonctionnalités de JavaScript ES6 | Bonnes Pratiques Web & Cloud | Scoop.it
JavaScript a pas mal changé ces dernières années. Cet articles détaille 12 nouvelles fonctionnalités que vous pouvez utiliser dès aujourd'hui.
Mickael Ruau's insight:

Depuis sa création en 1995, JavaScript a lentement évolué. De nouveaux ajouts ont été faits au fil des années. ECMAScript est arrivé en 1997 pour orienter JavaScript, et a publié des versions telles qu’ES3, ES5, ES6, etc.

Comme vous pouvez le voir, il y a des trous des 10 et 6 ans entre ES3, ES5 et ES6. Le nouveau modèle est de faire de petits ajouts croissants chaque année, au lieu de changements massifs en un coup comme avec ES6.

adama-GOKITY's curator insight, January 14, 2019 7:59 AM
Nouveauté Javascript
Scooped by Mickael Ruau
Scoop.it!

Exploring ES6

Exploring ES6 | Bonnes Pratiques Web & Cloud | Scoop.it

What you need to know about this book
Foreword
Preface
Acknowledgements
About the author

I. Background

1. About ECMAScript 6 (ES6)
2. FAQ: ECMAScript 6
3. One JavaScript: avoiding versioning in ECMAScript 6
4. Core ES6 features

II. Data

5. New number and Math features
6. New string features
7. Symbols
8. Template literals
9. Variables and scoping
10. Destructuring
11. Parameter handling

III. Modularity

12. Callable entities in ECMAScript 6
13. Arrow functions
14. New OOP features besides classes
15. Classes
16. Modules

IV. Collections

17. The for-of loop
18. New Array features
19. Maps and Sets
20. Typed Arrays
21. Iterables and iterators
22. Generators

V. Standard library

23. New regular expression features
24. Asynchronous programming (background)
25. Promises for asynchronous programming

VI. Miscellaneous

26. Unicode in ES6
27. Tail call optimization
28. Metaprogramming with proxies
29. Coding style tips for ECMAScript 6
30. An overview of what’s new in ES6

 

No comment yet.
Rescooped by Mickael Ruau from JavaScript for Line of Business Applications
Scoop.it!

Tips for using async functions (ES2017)

Tips for using async functions (ES2017) | Bonnes Pratiques Web & Cloud | Scoop.it

The foundation of async functions is Promises. That’s why understanding the latter is crucial for understanding the former. Especially when connecting old code that isn’t based on Promises with async functions, you often have no choice but to use Promises directly.


Via Jan Hesse
No comment yet.