Follow me on Twitter, I’d love to hear your suggestions for themes or improvements /Chris
You may be completely new to JavaScript , or you may have only used it sporadically over the years. One thing is clear though – a lot has changed, and there are some features you should use. This post describes features I think you should use every day if you’re serious about JavaScript
resource
These are my favorite ES6+ resources:
-1- spread operator
This is represented as ...
the front of an object or array, and does what the name says, it turns something from a struct into a comma-separated list. Let’s demonstrate:
expand array
let firstHalf = [ ' one ' , ' two ' ]; let secondHalf = [
…
The post Modern JavaScript, 10 Things You Should Be Using, first appeared on Lenix Blog starting today .
This article is reprinted from https://blog.p2hp.com/archives/9944
This site is for inclusion only, and the copyright belongs to the original author.