I’m very excited about studying Javascript on the mission of expand my knowledges at front-end. The principal goal is use Javascript at my Java back-end projects.
So, two things I really liked on javascript so far is:
- template string;
- spread operator.
The first concept lets a array be used as params of methods, on a very easy and functional way.
The second one helps on format messages that uses dynamics values, as variables. We can just reference the value inside a string pattern, marked with the ` character.
See the example…