<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on CodingBlast</title><link>https://codingblast.com/tags/javascript/</link><description>Recent content in Javascript on CodingBlast</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 28 Feb 2018 08:49:01 +0000</lastBuildDate><atom:link href="https://codingblast.com/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript Collections - Set and Map</title><link>https://codingblast.com/javascript-set-map/</link><pubDate>Tue, 27 Feb 2018 07:14:18 +0000</pubDate><guid>https://codingblast.com/javascript-set-map/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In this post we will get familiar with two different collections in JavaScript:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Set&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Map&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In one of the next posts we will also talk about two similar collections:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;WeakSet&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;WeakMap&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;They were all introduced to JavaScript spec with ES2015, also known as ES6.&lt;/p&gt;</description></item><item><title>Organising JavaScript helpers</title><link>https://codingblast.com/organising-javascript-helpers/</link><pubDate>Sat, 09 Dec 2017 09:24:39 +0000</pubDate><guid>https://codingblast.com/organising-javascript-helpers/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Since 2015 ECMAScript switched to yearly releases and they also switched to new naming format: ES_{Year}.&lt;/p&gt;
&lt;p&gt;With the arrival of ES6 or to be correct, ES 2015 we got support for classes in JavaScript. Also, we got new keywords: &lt;em&gt;import&lt;/em&gt; and &lt;em&gt;export&lt;/em&gt;. And this can make the code much cleaner and easier to work with.&lt;/p&gt;</description></item><item><title>Generators in JavaScript - Introduction</title><link>https://codingblast.com/generators/</link><pubDate>Sat, 15 Apr 2017 19:29:55 +0000</pubDate><guid>https://codingblast.com/generators/</guid><description>&lt;h2 id="introduction-to-generators"&gt;Introduction to generators&lt;/h2&gt;
&lt;p&gt;A generator function is a special kind of function that was introduced in ES2015 (ES6). In JavaScript once we start a function it has to run to its completion. However, generator functions enable us to create functions that another code can reenter multiple times. Furthermore, nothing from outside of the generation function can make it exit/pause. Generator function pauses itself when it runs into a &lt;code&gt;yield&lt;/code&gt; expression. Once a execution reaches &lt;code&gt;yield&lt;/code&gt; expression, generator can not continue execution on its own. Something from &lt;em&gt;outside&lt;/em&gt; has to &lt;em&gt;continue&lt;/em&gt;its execution.&lt;/p&gt;</description></item><item><title>JavaScript Iterators</title><link>https://codingblast.com/iterators/</link><pubDate>Wed, 12 Apr 2017 19:40:44 +0000</pubDate><guid>https://codingblast.com/iterators/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When we talk about iterators there are two main protocols to be aware of: &lt;em&gt;iterables&lt;/em&gt; and &lt;em&gt;iterators&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Iterables are data structures that can be iterated. Such example is array, since we can loop through every element of array.&lt;/p&gt;</description></item><item><title>JavaScript Symbols</title><link>https://codingblast.com/javascript-symbols/</link><pubDate>Sun, 09 Apr 2017 08:29:06 +0000</pubDate><guid>https://codingblast.com/javascript-symbols/</guid><description>&lt;h2 id="javascript-symbols---introduction"&gt;JavaScript Symbols - Introduction&lt;/h2&gt;
&lt;p&gt;Symbol is a primitive data type in JavaScript. Symbols represent a way to define object keys that will never get in conflict with other keys.&lt;/p&gt;
&lt;p&gt;Since they are one of the primitive data types they are immutable.&lt;/p&gt;</description></item><item><title>Decorators with TypeScript</title><link>https://codingblast.com/decorators-intro/</link><pubDate>Thu, 06 Apr 2017 10:55:26 +0000</pubDate><guid>https://codingblast.com/decorators-intro/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;JavaScript decorators are a special kind of declaration. Decorators can be attached to both class declaration and class method declaration. Furthermore, they can be attached to accessor and property declaration. Finally, they can also be attached to parameter declaration.&lt;/p&gt;</description></item></channel></rss>