<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Willians Faria</title>
    <description>The latest articles on DEV Community by Willians Faria (@wllfaria_).</description>
    <link>https://dev.to/wllfaria_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F194477%2F1d61c08d-ad25-4679-b34e-320cc5d807a4.jpg</url>
      <title>DEV Community: Willians Faria</title>
      <link>https://dev.to/wllfaria_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wllfaria_"/>
    <language>en</language>
    <item>
      <title>How to be more productive as a developer</title>
      <dc:creator>Willians Faria</dc:creator>
      <pubDate>Wed, 21 Aug 2019 14:08:32 +0000</pubDate>
      <link>https://dev.to/wllfaria_/how-to-be-more-productive-as-a-developer-7mm</link>
      <guid>https://dev.to/wllfaria_/how-to-be-more-productive-as-a-developer-7mm</guid>
      <description>&lt;p&gt;As developers, we are always filling our minds with projects and solutions, simple or complex that in most cases end up taking a huge part of our days.&lt;/p&gt;

&lt;p&gt;With that in mind, we want to finish our tasks faster, being that task creating a new feature on an existing project or even finishing some new one, or that one that you haven't worked for months (hehe).&lt;/p&gt;

&lt;p&gt;And wouldn't be great if we could spend less time to finish each one of these things? The big news is that we can, and that it isn't as complex as it seems.&lt;/p&gt;

&lt;p&gt;This article was written with the intention to show you practical solutions to optimize your time, so let's start.&lt;/p&gt;

&lt;h2&gt;
  
  
  IDE or text editor
&lt;/h2&gt;

&lt;p&gt;This is your fundamental tool to write code, and it is crucial that you utilize one that is competitive, modern and versatile. There are uncountable editors, both old and modern, choosing the best one for you isn't something I can do, but when you start looking for one, consider checking if it has functionalities like the ones below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Allow editing and creating hotkeys&lt;/li&gt;
&lt;li&gt;Allow creating snippets&lt;/li&gt;
&lt;li&gt;Has a big community or huge amount of extensions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your actual editor or IDE doesn't have any of these functionalities, maybe it's time to check if that isn't killing part of your productivity, and also maybe you should try to transition to a modern, and competitive one that actually helps you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hotkeys
&lt;/h2&gt;

&lt;p&gt;The modern text editors and IDEs are now coming with much more functions that helps your life without the need of extra configuration, these functions helps in small actions that we do often, like selecting all occurences of &lt;code&gt;margin-right&lt;/code&gt; in a css file.&lt;/p&gt;

&lt;p&gt;Learning these hotkeys is fundamental for you to reduce some time spent, sometimes seconds and other times even minutes that could be utilized in another task.&lt;/p&gt;

&lt;p&gt;But there are so many hotkeys that is complicated to learn them all at once, maybe even impossible, so my tip is to read through all of them and choose a few that would help you the most and then keep doing it untill you learn them all. You're gonna thank yourself for that.&lt;/p&gt;

&lt;p&gt;A problem that can happen is that your editor may have not a hotkey for a specific task, in these cases, think about creating your own hotkey. Most IDEs let you customize their functionalities, VSCode, the editor I use makes it possible by just updating a JSON file. And you can always create a snippet to save you the time to write a repetitive block of code. By the way, let's talk more about snippets now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Snippets
&lt;/h2&gt;

&lt;p&gt;Snippets are abstractions of code that you can save to access again later using only a text hotkey, very similar to emmet, and I really like them because you can create snippets of big blocks of code that you utilize often, like react components, for example, and that can and certainly will save your an amazing quantity of time.&lt;/p&gt;

&lt;p&gt;Almost all the editors, not to generalize, have this option, then I think you should check it now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extensions
&lt;/h2&gt;

&lt;p&gt;One of the biggest reasons for me to utilize VSCode as my editor, is the huge amount of extensions available to almost anything I want to do, but the modern editors also have their extensions, the point here is, between the extensions made by the community, most of them are there to make processes easier, like highlighting specific points of code, indentation shortcuts, minifiers, the options are endless, and with that, their use can save your and expressive parcel of time that would be taken otherwise.&lt;/p&gt;

&lt;p&gt;Bônus tip: if you utilize VSCode, I highly recommend that you check these extensions: Indent Rainbow, Bracket Pair Colorizer, REST Client and Prettie.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time and focus
&lt;/h2&gt;

&lt;p&gt;Being focused is one of the characteristics that potencialize your productivity in your projects the most, but being focused for a long time without distractions can be a tough task, and that's why I believe to be extremely important to utilize a strategy to manage your time focused and distracted, there are uncountable of them and a even bigger amount of articles talking about them, but I'm going to just say here two that worked for me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pomodoro Technique&lt;/li&gt;
&lt;li&gt;10 minutes rule&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also believe that removing possible distractions is a important task to make you do more, letting your phone on the bag or in another room of the house, creating a new user just to work, not opening social media, all these things can impact your productivity extraordinarily.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;All of us would like to have more time, and I believe that optimizing the way we do our tasks is a important step to achieve this goal. And of course you don't need to apply all of this in your life, just the ones that reflected to you.&lt;/p&gt;

&lt;p&gt;Thanks for reading through!&lt;/p&gt;

&lt;p&gt;If you liked please consider reading my other article:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://dev.to/wllfaria_/es6-destructuring-objects-and-arrays-dc"&gt;ES6 Destructuring Objects and Arrays&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;You can talk to me on my &lt;a href="https://twitter.com/wllfaria_"&gt;Twitter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would absolutely love to talk to you&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>devlive</category>
    </item>
    <item>
      <title>ES6 Destructuring Objects and Arrays</title>
      <dc:creator>Willians Faria</dc:creator>
      <pubDate>Tue, 06 Aug 2019 11:45:15 +0000</pubDate>
      <link>https://dev.to/wllfaria_/es6-destructuring-objects-and-arrays-dc</link>
      <guid>https://dev.to/wllfaria_/es6-destructuring-objects-and-arrays-dc</guid>
      <description>&lt;p&gt;ES6 has introduced an awesome feature that is destructuring.Which is really useful when you're working wth react, for example, but the use cases for it are almost endless.&lt;/p&gt;

&lt;p&gt;You can do array and object destructuring, or even destruct an object within an array, or vice-versa. So let's start simple, as I find myself using object destructuring the most, I'm gonna explain it first, and it's actually really simple.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Object Destructuring&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;For instance, let's say you have a person object with firstName, lastName, age, and hobbies, something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;person&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;firstName&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;John&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;lastName&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Moore&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;age&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;hobbies&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;coding&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;drawing&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;fortnite&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And let's say you wanna display on your app the first + last name alignside with a greeting message, you could do as following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;greeting&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`Hello &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;person&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;firstName&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;person&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;lastName&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;, welcome back!`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;But with object destructuring, you can make it in a way that you don't actually need to do that &lt;code&gt;object.property&lt;/code&gt; syntax, and you might find this useful once you go to deeper levels of destructuring. To achieve it, the code would be like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;firstName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;lastName&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;person&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;greeting&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`Hello &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;firstName&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;lastName&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;, welcome back!`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;You put the exact names of the properties you want to destructure inside the curly braces and after that you just tell javascript that those variables came from the person object!&lt;/p&gt;

&lt;h2&gt;
  
  
  A lot easy to read, right? But you might ask yourself, where do i use it?
&lt;/h2&gt;

&lt;p&gt;If you are a react developer lke me, you can use it to access state properties or props on a function/class component, or even with hooks! The code below was taken from one of my projects on GitHub, just to show how i've used it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nx"&gt;IntroSection&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nx"&gt;React&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Component&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;animateIntro&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;};&lt;/span&gt;


  &lt;span class="nx"&gt;render&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;animateIntro&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;state&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;lightMode&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;props&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="c1"&gt;//...some code here...&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;But let's keep going, since objects aren't the only thing you can do this.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Array Destructuring&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The same way you can destructure objects, you can do to arrays, but it can be a bit confusing to get started.&lt;br&gt;
Let's now say that you have an array of planets, like the one below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;planets&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Mercur&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Venus&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Earth&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Mars&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And you want to destructure it in a way that you have each planet labeled as planet 1 – 4, you could do it like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="nx"&gt;planet1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet4&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;planets&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;So as you can see, each variable on the left side is the equivalent of an index of the array, thats interesting, but also gives us some questions. &lt;/p&gt;

&lt;p&gt;What if I a have greater number of variables than the number of items on the array? &lt;br&gt;
And what if i had nested arrays? &lt;br&gt;
What if i don't know exactly the size of my array?&lt;/p&gt;
&lt;h2&gt;
  
  
  Dont worry, I'll cover those questions now.
&lt;/h2&gt;

&lt;p&gt;Let's begin with the first one, passing more variables than the actual number of items on the array would return undefined as the output. Simple as that.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="nx"&gt;planet1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet5&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;planets&lt;/span&gt;
&lt;span class="c1"&gt;// output would be: "Mercur", "Venus", "Earth", "Mars", undefined&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Nested Arrays&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You can also use destructuring on nested arrays, so lets say you have now an array of numbers.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And you want to get 5, 1, and 6 as the output. In this case, your code would look just like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt; &lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="nx"&gt;c&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;numbers&lt;/span&gt;
&lt;span class="c1"&gt;// Output: 5, 1, 6&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;And you can actually go as many level deep as you want, don't need to worry about that. So that's left us with the last question.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Mapping Through the Array&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Let's say now that you don't know exactly how many items would be on your array, but you want to destructure them all. You can do that in a simple way, using Spread Operator.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="nx"&gt;planet1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;planet2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;others&lt;/span&gt; &lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;planets&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;(…) is the spread operator syntax, another of the ES6 Features that i'll be showcasing soon.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hope you've enjoyed reading through this guide.&lt;/p&gt;

&lt;p&gt;You can find me on twitter: &lt;a href="https://twitter.com/wllfaria_"&gt;@wllfaria_&lt;/a&gt; where I post weekly coding tips.&lt;/p&gt;

&lt;p&gt;I would love to talk to you.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
