<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>javascript on John hashim</title>
    <link>https://johnhashim.com/series/javascript/</link>
    <description>Recent content in javascript on John hashim</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>johnnyhashim [at] gmail.com (john hashim)</managingEditor>
    <webMaster>johnnyhashim [at] gmail.com (john hashim)</webMaster>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 13 Aug 2020 22:41:09 -0400</lastBuildDate>
    
        <atom:link href="https://johnhashim.com/series/javascript/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>All JavaScript Comparison Operators</title>
        <link>https://johnhashim.com/posts/all-javascript-comparison-operators/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/all-javascript-comparison-operators/</guid>
        <description>Javascript as a Programming language it has its uniques comparison Operators that can be used to compare Number or strings
Remember the Operation always returns a boolean.
 &amp;lt;  less than &amp;lt;= less than or equal to &amp;gt; greater than &amp;gt;= greater than or equal to === identity to == equal to != not equal to !== not identical to  When comparing strings, those operators check for the letter ordering, encoded in Unicode.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature3/code-file.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>Fizz Buzz Implementation in javascript, c&#43;&#43;,java,c#,python and php</title>
        <link>https://johnhashim.com/posts/fizz-buzz-implementation-in-javascript-c-java-c-python-and-php/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/fizz-buzz-implementation-in-javascript-c-java-c-python-and-php/</guid>
        <description>Fizz Buzz is a very simple programming task, asked in software developer job interviews.
A typical round of Fizz Buzz can be:
Write a program that prints the numbers from 1 to 100 and for multiples of &amp;lsquo;3&amp;rsquo; print &amp;ldquo;Fizz&amp;rdquo; instead of the number and for the multiples of &amp;lsquo;5&amp;rsquo; print &amp;ldquo;Buzz&amp;rdquo;.
javascript c-plus java c-sharp python php  1 2 3 4 5 6 7 8  for (var i=1; i &amp;lt; 101; i++){ if (i % 15 == 0) console.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature1/flowchart.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>Guide to Regular Expressions in JavaScript</title>
        <link>https://johnhashim.com/posts/guide-to-regular-expressions-in-javascript/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/guide-to-regular-expressions-in-javascript/</guid>
        <description>Everyone working with JavaScript will have to deal with strings at one point or other. Sometimes, you will just have to store a string inside another variable and then pass it over. Other times, you will have to inspect it and see if it contains a particular substring.
However, things are not always this easy. There will be times when you will not be looking for a particular substring but a set of substrings which follow a certain pattern.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature1/number-one.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>How to add an items at the beginning of an array in JavaScript</title>
        <link>https://johnhashim.com/posts/how-to-add-item-beginning-array-js/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-add-item-beginning-array-js/</guid>
        <description>This can be done by using splice() method of an array.
splice() takes more than 3 arguments. The first is the start index: the place where we’ll start making the changes. The second is the delete count parameter. We’re adding to the array, so the delete count is 0 in all our examples. After this, you can add one or many items an array as you like.
1 2 3 4 5  const fruits = [&amp;#39;mango&amp;#39;, &amp;#39;orange&amp;#39;] colors.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>How to Create a Function and Import It as a Node Module</title>
        <link>https://johnhashim.com/posts/how-to-create-a-function-and-import-it-as-a-node-module/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-create-a-function-and-import-it-as-a-node-module/</guid>
        <description>creating a reusable code is what makes programming more fun and easy .
lets create a funtion and import it in other files so that we can reuse it over and over .
1 2 3 4 5 6  function minus(a, b) { if (b === undefined) return -a; else return a - b; } //make functional reusable global exports.minus = minus;   now you can impot this funtion in any file</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature3/code-file.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>How to redirect to a URL in Sapper</title>
        <link>https://johnhashim.com/posts/how-to-redirect-to-a-url-in-sapper/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-redirect-to-a-url-in-sapper/</guid>
        <description>If your working on a Svelte+Sapper application and you run in asituation where you need to redirect to different homepage, with URL /home1/1,/home2/1 when the user visited the root domain /, instead of showing the default home page opened src/routes/index.svelte, comment out or removed everything in that file, and add this code:
1 2 3 4 5  &amp;lt;script context=&amp;#34;module&amp;#34;&amp;gt; export async function preload(page, session) { return this.redirect(301, &amp;#39;home2&amp;#39;) } &amp;lt;/script&amp;gt;   or redirect  your user to login pages if not login user.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      
      <item>
        <title>why from blogger to static site</title>
        <link>https://johnhashim.com/posts/why-from-blogger-to-static-site/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/why-from-blogger-to-static-site/</guid>
        <description>Well Blogger platform is really Amazing, easy and free just like Netifly the only difference is that with static site is that you should have coding skills but you don’t need to panic if you don’t you can use free themes and use your own admin panel to create posts just like how you do it on WordPress and blogger … thanks to Forstry.io these guys make it, even more, simpler than ever.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature1/graph.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>javascript</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>javascript</category>
            
          
        
      </item>
      

    
  </channel>
</rss>