<?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: Sakshi Kumar</title>
    <description>The latest articles on DEV Community by Sakshi Kumar (@sakshi006).</description>
    <link>https://dev.to/sakshi006</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%2F507027%2Fb30ad7c5-5438-4962-b539-ba8868d57cea.png</url>
      <title>DEV Community: Sakshi Kumar</title>
      <link>https://dev.to/sakshi006</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sakshi006"/>
    <language>en</language>
    <item>
      <title>ELOQUENT JAVASCRIPT : CHAPTER 3</title>
      <dc:creator>Sakshi Kumar</dc:creator>
      <pubDate>Sat, 12 Dec 2020 10:38:14 +0000</pubDate>
      <link>https://dev.to/sakshi006/eloquent-javascript-chapter-3-mfh</link>
      <guid>https://dev.to/sakshi006/eloquent-javascript-chapter-3-mfh</guid>
      <description>&lt;p&gt;In this blog I will cover the things I learnt in Chapter 3 of the book - Eloquent JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
Chapter 3

&lt;ul&gt;
&lt;li&gt;Basic understanding of Functions&lt;/li&gt;
&lt;li&gt;
Scopes

&lt;ul&gt;
&lt;li&gt;ARROW FUNCTIONS&lt;/li&gt;
&lt;li&gt;CALL STACK&lt;/li&gt;
&lt;li&gt;OPTIONAL ARGUMENTS&lt;/li&gt;
&lt;li&gt;CLOSURE&lt;/li&gt;
&lt;li&gt;RECURSION&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Chapter-3&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  BASIC UNDERSTADNING OF FUNCTIONS&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Functions play a crucial role in programming. Advantages :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Larger programs can be structured using functions.&lt;/li&gt;
&lt;li&gt;Names can be associated with subprograms.&lt;/li&gt;
&lt;li&gt;Different subprograms to perform different to execute different 
parts of code.&lt;/li&gt;
&lt;li&gt;Reduced repetition.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To begin with, functions are declared using a &lt;em&gt;function&lt;/em&gt; keyword.&lt;br&gt;
They may or may not take a parameter depending on the type of calculations they are going to be used for. The body of a function starts and ends with parentheses. Some functions have a return statement, some don't.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const square = function(x) {  //function declaration
return x * x;
};

console.log(square(12));

//Result → 144
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const createVoice = function() {
console.log("Hahahahaha!");
};


createVoice();
//Result → Hahahahaha!


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  SCOPES&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;In JavaScript there are two types of scope:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Local scope -&amp;gt; These are the variables declared within a JavaScript function. Local variables have Function scope i.e they can only be accessed from within the function.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function myFunction() {
  var carName = "Volvo";
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Global scope -&amp;gt; These are the variables declared outside a function. A global variable has global scope i.e all scripts and functions on a web page can access it.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var carName = "Volvo";
function myFunction() {
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Variables created without a declaration keyword (var, let, or const) are always global, even if they are created inside a function.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;JavaScript can have nested scope as well. Blocks and functions&lt;br&gt;
can be created inside other blocks and functions, producing multiple degrees of locality. All functions have access to the global scope. Nested functions have access to the scope "above" them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const hummus = function(factor) {
const ingredient = function(amount, unit, name) {
let ingredientAmount = amount * factor;
if (ingredientAmount &amp;gt; 1) {
unit += "s";
}
console.log(`${ingredientAmount} ${unit} ${name}`);
};
ingredient(1, "can", "chickpeas");
ingredient(0.25, "cup", "tahini");
ingredient(0.25, "cup", "lemon juice");
ingredient(1, "clove", "garlic");
ingredient(2, "tablespoon", "olive oil");
ingredient(0.5, "teaspoon", "cumin");
};


//The code inside the ingredient function can see the factor binding 
from the outer function. But its local bindings, such as unit 
or ingredientAmount, are not visible in the 
outer function.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In JS, the order of function declaration and function call does not matter. Function declarations are not part of the regular top-to-bottom flow of control. They are conceptually moved to the top of their scope and can be used by all the code in that scope.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log("The future says:", future());
function future() {
return "You'll never have flying cars";
}


// result -&amp;gt; The future says you'll Never have flying cars
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h5&gt;
  
  
  &lt;em&gt;ARROW FUNCTIONS&lt;/em&gt;
&lt;/h5&gt;

&lt;p&gt;Arrow functions are just another way of writing the JS functions. Instead of using the keyword &lt;em&gt;function&lt;/em&gt;, we use arrow to represent a function followed by the body of function.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var squareNumber = (x) =&amp;gt; {
return x * x ;
}

(squareNumber(5));   //function call

//result -&amp;gt; 25

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;** In simple words, this input(parameters) give this result (body).**&lt;/p&gt;

&lt;h5&gt;
  
  
  &lt;em&gt;CALL STACK&lt;/em&gt;
&lt;/h5&gt;

&lt;p&gt;When the computer encounters a function call, it goes to that function and implement it. After the implementation, the computer returns back to the line from where function was called and implement the next line of code. &lt;/p&gt;

&lt;p&gt;The computer is supposed to store the context from where it had to continue executing again. The place where the computer stores this context is the call stack. Every time a function is called, the current context is stored on top of this stack. When a function returns, it removes the top context from the stack and uses that context to continue execution.&lt;/p&gt;

&lt;h5&gt;
  
  
  &lt;em&gt;OPTIONAL ARGUMENTS&lt;/em&gt;
&lt;/h5&gt;

&lt;p&gt;We can pass more number of arguments to a function having comparatively less parameters. JavaScript will ignore the extra arguments. In the opposite situation, the un-assigned parameters will be assigned a value of undefined.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function square(x) { return x * x; }
console.log(square(4, true, "hedgehog"));


//Result → 16
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h5&gt;
  
  
  &lt;em&gt;CLOSURE&lt;/em&gt;
&lt;/h5&gt;

&lt;p&gt;A closure is a function having access to the parent scope, even after the parent function has closed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function makeFunc() {
  var name = 'Mozilla';
  function displayName() {
    alert(name);
  }
  return displayName;
}

var myFunc = makeFunc();
myFunc();

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, the binding 'myFunc' is a reference to the instance of the function displayName that is created when makeFunc is called. The instance of displayName maintains a reference to its lexical environment ( lexical scoping uses the location where a variable is declared within the source code to determine where that variable is available. Nested functions have access to variables declared in their outer scope.), within which the variable name exists. For this reason, when myFunc is invoked, the variable name remains available for use, and "Mozilla" is passed to alert.&lt;/p&gt;

&lt;p&gt;For more, refer &lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures"&gt;this link&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;
  
  
  &lt;em&gt;RECURSION&lt;/em&gt;
&lt;/h5&gt;

&lt;p&gt;Recursion simply refers to a situation when the function calls itself repeatedly unless some boundary condition is not encountered. In JavaScript implementations, it’s about three times slower than the looping version. Running through&lt;br&gt;
a simple loop is generally cheaper than calling a function multiple times.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Factorial(n) { 
            if (n === 0) {  
                return 1;  
            } 
            else {  
                return n * Factorial( n - 1 );  
            } 
        } 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;p&gt;Thankyou for reading!😃&lt;br&gt;
All feedbacks are welcome 🙆‍♀️&lt;/p&gt;

&lt;p&gt;Connect with me on :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/Sakshiii_6"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sakshi006"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>codenewbie</category>
      <category>100daysofcode</category>
      <category>webdev</category>
    </item>
    <item>
      <title>ELOQUENT JAVASCRIPT : CHAPTER 2</title>
      <dc:creator>Sakshi Kumar</dc:creator>
      <pubDate>Fri, 11 Dec 2020 12:32:36 +0000</pubDate>
      <link>https://dev.to/sakshi006/eloquent-javascript-chapter-2-3bk2</link>
      <guid>https://dev.to/sakshi006/eloquent-javascript-chapter-2-3bk2</guid>
      <description>&lt;p&gt;In this blog I will cover the things I learnt in Chapter 2 of the book - Eloquent JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
Chapter 1

&lt;ul&gt;
&lt;li&gt;Expressions and statements&lt;/li&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Control Flow&lt;/li&gt;
&lt;li&gt;Break, Continue&lt;/li&gt;
&lt;li&gt;Switch&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Chapter-2&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  EXPRESSIONS AND STATEMENTS &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Expressions are the fragments of code that produces a value. Every value is an expression.&lt;br&gt;
Statements are the complete sentences that make some sense ,both to humans and computers.&lt;br&gt;
A program is a list of statements grouped together to get the desired output.&lt;br&gt;
Therefore,&lt;br&gt;
Expressions-&amp;gt;Statements-&amp;gt;Programs&lt;/p&gt;




&lt;h4&gt;
  
  
  VARIABLES &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Variables, also known as bindings are a way to store the values we want to apply calculations upon. Like, we humans need a copy and pen to write down a value and then perform some calculations on it, similarly computers have memory to store the numbers and then perform the calculations we want them to. This is done via variables or bindings. So, variables let us store numbers, strings, result, anything.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var myName = "Sakshi";
console.log(myName);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can declare a binding either using let, var or const keywords.&lt;br&gt;
They all give almost same result apart from the fact that const is used mostly when we do not want the value of out binding to change, i.e. the value remain constant throughout the program.&lt;br&gt;
We can change the values provided to variables using 'var' and 'let' keywords.&lt;br&gt;
var : Variable&lt;br&gt;
const : Constant&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var mySaving = 400;
//if I receive 100Rs this month 
mySaving = mySaving+100;
console.log(mySaving);

//result : 500
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If we try to modify a const value during the tenure of a program, we will get an error message!&lt;/p&gt;

&lt;p&gt;The variable name could be anything according to our convenience. Although it must not start with a number. Also, we will get error message if we try to name our variable similar to the name of some keyword like : let, break, const, etc. &lt;/p&gt;







&lt;h4&gt;
  
  
  FUNCTIONS &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Functions are nothing but the piece of programs wrapped in a value. It is advisable to use functions in out program as, if once declared they can be used multiple times (otherwise we would have to write the entire code again and again).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//add two numbers
function add(a,b)   //function declaration
{  
  var sum = a+b;
  return sum;
}

var ans = add (4,5);  //function call
console.log("The sum is "+ ans);

result : The sum is 9

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Function parameters are the names listed in the function's definition(in this example : a,b). Function arguments are the real values passed to the function.&lt;br&gt;
There are some predefined functions like console.log() and some functions that are user defined - add(), in this case.&lt;/p&gt;

&lt;p&gt;console.log() : is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user. It prints the output in the console of the browser.&lt;/p&gt;

&lt;p&gt;return : The return statement stops the execution of a function and returns a value from that function. The add() function returns the value of sum.&lt;/p&gt;




&lt;h4&gt;
  
  
  CONTROL FLOW &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;We can have straight-line execution or conditional execution in our programs.&lt;br&gt;
(A)IF ELSE LOOPS:&lt;br&gt;
The conditional execution can be done using IF-ELSE loop.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//straight line
var age = 34;
console.log(age);

//conditional
var age = 34;
if( age&amp;lt;30)
  console.log("My age is " +age);
else
  console.log("I am older than 30. Age : " + age);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Since there can be multiple conditions, we can use IF-ELSEIF-ELSE loops.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if (condition1)
  statement1
else if (condition2)
  statement2
else if (condition3)
  statement3
...
else
  statementN

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(B) WHILE and DO LOOPS :&lt;/p&gt;

&lt;p&gt;While loop is used when we want to execute certain statements multiple times.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var age = 10;
while(age &amp;lt; 15)  //this condition checks if age is less than 15. 
                   If true the inner loop executes.
{
  console.log(age);
  age = age + 1;
}

//result : 10 11 12 13 14
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The DO-WHILE loop executes at least once for sure !&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let yourName;
do {
yourName = prompt("Who are you?");
} while (!yourName);
console.log(yourName);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This program will force you to enter a name. It will ask again and again until it gets something that is not an empty string. This means the loop continues going round until you provide a non-empty name.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_14z3PUd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/DuP34l7XgAApQmq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_14z3PUd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/DuP34l7XgAApQmq.jpg" alt="Explaination"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(C) FOR LOOPS&lt;br&gt;
Sometimes while loops can be confusing, and therefore for loops come to the rescue. They perform the same function of looping through certain statements repeatedly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for (statement 1; statement 2; statement 3) {
  // code block to be executed
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Statement 1 is executed (one time) before the execution of the code block.&lt;br&gt;
Statement 2 defines the condition for executing the code block. If condition is false, we come out of the loop.&lt;br&gt;
Statement 3 is executed (every time) after the code block has been executed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for( var i = 0 ; i &amp;lt; 5 ; i++ )
{
  console.log(i);
}


//result : 0 1 2 3 4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h4&gt;
  
  
  BREAK and CONTINUE &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;The break statement "jumps out" of a loop. It breaks the loop and continues executing the code after the loop (if any).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for (var i = 0; i &amp;lt; 10; i++) {
  if (i === 3) 
    {  
        break;   //breaks out of the for loop
    }
  console.log(i);
}


//result : 0 1 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The continue statement "jumps over" one iteration in the loop. It breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for (var i = 0; i &amp;lt; 6; i++) {
  if (i === 3) 
    {  
        continue;   //goes back to the for loop
    }
  console.log(i);
}

//result : 0 1 2 4 5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;h4&gt;
  
  
  SWITCH &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;The switch statement is used to perform different actions based on different conditions.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;switch(expression) {
  case x:
    // code block
    break;
  case y:
    // code block
    break;
  default:
    // code block
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;p&gt;camelCase:&lt;/p&gt;

&lt;p&gt;The standard JavaScript functions, and most JavaScript programmers, follow the camelCase style—they capitalize every word except the first.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var myName = "Sakshi";
var newAdditionNumber = 23;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;IMPORTANCE OF IDENTATION :&lt;/p&gt;

&lt;p&gt;-Easier to read&lt;br&gt;
  -Easier to understand&lt;br&gt;
  -Easier to modify&lt;br&gt;
  -Easier to maintain&lt;br&gt;
  -Easier to enhance&lt;/p&gt;

&lt;p&gt;IMPORTANCE OF COMMENTS :&lt;/p&gt;

&lt;p&gt;-When people work together, comments make it easier for others to read and understand your code.&lt;br&gt;
  -If we want to see/edit code later, comments help us to memorize the logic that was written while writing that code.&lt;/p&gt;







&lt;p&gt;Thankyou for reading!😃&lt;br&gt;
All feedbacks are welcome 🙆‍♀️&lt;/p&gt;

&lt;p&gt;Connect with me on :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/Sakshiii_6"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sakshi006"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>ELOQUENT JAVASCRIPT : CHAPTER 1</title>
      <dc:creator>Sakshi Kumar</dc:creator>
      <pubDate>Tue, 08 Dec 2020 07:51:56 +0000</pubDate>
      <link>https://dev.to/sakshi006/eloquent-javascript-part-1-1oip</link>
      <guid>https://dev.to/sakshi006/eloquent-javascript-part-1-1oip</guid>
      <description>&lt;p&gt;So, this is in continuation with my previous post on 'The introduction' of the book. In this blog I will cover the things I learnt in Chapter 1 of the book - Eloquent JavaScript.&lt;br&gt;
&lt;a href="https://ejs-challenge.netlify.app/"&gt;#teamtanayejschallenge&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Table Of Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
Chapter 1

&lt;ul&gt;
&lt;li&gt;Values in JS&lt;/li&gt;
&lt;li&gt;Numbers&lt;/li&gt;
&lt;li&gt;Arithmetic Operations&lt;/li&gt;
&lt;li&gt;Special Numbers in JS&lt;/li&gt;
&lt;li&gt;Strings&lt;/li&gt;
&lt;li&gt;Unary and Binary Operators&lt;/li&gt;
&lt;li&gt;Boolean Values&lt;/li&gt;
&lt;li&gt;Logical Operators&lt;/li&gt;
&lt;li&gt;Empty values&lt;/li&gt;
&lt;li&gt;Automatic Type Conversion&lt;/li&gt;
&lt;li&gt;Short Circuiting&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;&lt;em&gt;CHAPTER-1&lt;/em&gt;&lt;a&gt;&lt;/a&gt; &lt;br&gt;
This chapter introduces the atomic elements or the building blocks  of JS such as the simple value types and the operations that can be performed on them.&lt;/p&gt;
&lt;h4&gt;
  
  
  1. Values is JavaScript&lt;a&gt;&lt;/a&gt;  :
&lt;/h4&gt;

&lt;p&gt;To be able to work with large quantities of bits without getting lost, we must separate them into chunks that represent pieces of information, these are called as values. Though all values are made of bits, they play different roles. Values can be numbers, texts or strings, functions etc.&lt;/p&gt;
&lt;h4&gt;
  
  
  2. Numbers&lt;a&gt;&lt;/a&gt;  :
&lt;/h4&gt;

&lt;p&gt;Numbers are nothing but the numerical values. Given 64 binary&lt;br&gt;
digits, you can represent 2^64 different numbers, that's a lot!&lt;br&gt;
We can also store fractional numbers. They are written using a dot. Example : &lt;br&gt;
9.81&lt;/p&gt;

&lt;p&gt;For very big or very small numbers, you may also use scientific notation by adding an e (for exponent), followed by the exponent of the number.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2.998e8
That is 2.998 × 10^8 = 299,800,000.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Arithmetic Operations &lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;Arithmetic Operations include Addition, Subtraction, Multiplication, Division , Modulus and so on. They take two numbers or operands, operate upon them and produce the output.&lt;/p&gt;

&lt;p&gt;Multiplication and Division have same preference which is greater than Addition and Subtraction, which again have same preference.&lt;/p&gt;

&lt;p&gt;Addition:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 14;
var b = 10;
console.log(a+b);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;result-24&lt;/p&gt;

&lt;p&gt;Subtraction:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 14;
var b = 10;
console.log(a-b);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;result-4&lt;/p&gt;

&lt;p&gt;Multiplication:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 14;
var b = 10;
console.log(a*b);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;result-140&lt;/p&gt;

&lt;p&gt;Division:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 14;
var b = 10;
console.log(a/b);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;result-1&lt;/p&gt;

&lt;p&gt;Modulus:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 14;
var b = 10;
console.log(a%b);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;result-4&lt;/p&gt;

&lt;h4&gt;
  
  
  4. Special Numbers in JS &lt;a&gt;&lt;/a&gt;:
&lt;/h4&gt;

&lt;p&gt;There are certain special numbers as well. Infinity and -Infinity, which represent +ve and -ve infinite values respectively are two of them. Since the calculations using infinite values are not trustable, these are not used much.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NaN :&lt;/strong&gt; Not a Number. It is a value of the number type. We get this result when we try to calculate 0/0, infinity-infinity or any other numeric operations that yield an undefined value or a meaningless result.&lt;/p&gt;

&lt;h4&gt;
  
  
  5. Strings&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;These are used to represent text. They are always written inside quotes be it double or single. Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"I am a string"
'I am also a string'
"1.3454"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Whenever a '\' is found inside a string -- the character after it is special, this is called escaping a character. A quote after a backslash would not end the string, instead it will be a part of the string. Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var s = "Hey! My name is \"abcde\". How you doin'?"
console.log(s);

result : Hey! My name is "abcde". How you doin'?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  6.Unary and binary Operators&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;The operators which work on a single operand are called unary operators. They require only one value to produce some result. Example : typeof()&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;typeof(3.14) //number
typeof("sakshi") //string
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All the arithmetic operators we have read earlier are few examples of binary operators as they take two values to output a result.&lt;/p&gt;

&lt;h4&gt;
  
  
  7.Boolean values&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;It has only two values - true and false.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(3 &amp;gt; 2)
// → true
console.log(3 &amp;lt; 2)
// → false
console.log("Itchy" != "Scratchy")
// → true
console.log("Apple" == "Orange")
// → false

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All the operations in JavaScript are done from left to right, keeping in mind the precedence of operators.&lt;/p&gt;

&lt;p&gt;There is only one value in JS which is not equal to itself : NaN. It is supposed to denote non-sensical computations and as such it is not equal to the result of any other non-sensical computation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(NaN==NaN) //false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  8. Logical Operators&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;JS supports 3 logical operators : AND(&amp;amp;&amp;amp;), OR(||) and NOT(!).&lt;br&gt;
The logical operators have lowest precedence.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(true &amp;amp;&amp;amp; false)
// → false
console.log(true &amp;amp;&amp;amp; true)
// → true
console.log(false || true)
// → true
console.log(false || false)
// → false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is a ternary operator as well. As the name suggests, it takes three values as input. If the condition is true, it outputs the first value otherwise second value is displayed as output.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(true ? 1 : 2);
// → 1
console.log(false ? 1 : 2);
// → 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  9.Empty values &lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;Apart from all the values we have read till now, there are two empty values as well : Null and undefined. They are themselves values but carry no information.&lt;br&gt;
They can be used interchangeably.&lt;/p&gt;
&lt;h4&gt;
  
  
  10.Automatic type conversion&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;In the introduction blog, it was said that JS sometimes go out of it's way to accept almost any program you give.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(8 * null)
// → 0
console.log("5" - 1)
// → 4
console.log("5" + 1)
// → 51
console.log("five" * 2)
// → NaN
console.log(false == 0)
// → true

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Whenever a wrong type is provided, JS converts it according to the type it needs using a set of rules which might sometime output some undesirable results. This is known as type coercion.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When something that doesn't map to a number in an obvious way, it is converted to a number -&amp;gt; NaN. Any operation with Nan, results in NaN itself. So, if we ever get any such outcome, we need to check for the type conversion errors in our program.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The '==' sign checks for equality. It yields true when both are equal except for NaN.&lt;br&gt;
When type of two values differ, JS has different rules which mostly try to convert one value's type to another for further calculations.&lt;br&gt;
For 'null' and 'undefined' values, the '==' sign yields true only if both sides are one of null or undefined.&lt;/p&gt;

&lt;p&gt;When you don't want any type conversions, use triple equal to (===) and (!==) tests for precise equality.&lt;/p&gt;
&lt;h4&gt;
  
  
  11. Short Circuiting of Logical Operators&lt;a&gt;&lt;/a&gt; :
&lt;/h4&gt;

&lt;p&gt;The logical operators &amp;amp;&amp;amp; and || handle values of different types in a peculiar way. They will convert the value on their left side to Boolean type in order to decide what to do, but depending on the operator and the result of that conversion, they will return either the original left-hand value or the right-hand value.&lt;/p&gt;

&lt;p&gt;|| -&amp;gt; will return the value to its left when that can&lt;br&gt;
be converted to true and will return the value on its right otherwise.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(null || "user")
// → user
console.log("Agnes" || "user")
// → Agnes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&amp;amp;&amp;amp; -&amp;gt; When the value to its left is something that converts to false, it returns that value, and otherwise it returns the value on its right.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(null || "user")
// → null
console.log("Agnes" || "user")
// → user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;p&gt;Thankyou for reading!😃&lt;br&gt;
All feedbacks are welcome 🙆‍♀️&lt;/p&gt;

&lt;p&gt;Connect with me on :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/Sakshiii_6"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sakshi006"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>codenewbie</category>
      <category>webdev</category>
      <category>teamtanayejschallenge</category>
    </item>
    <item>
      <title>Eloquent JavaScript-Introduction</title>
      <dc:creator>Sakshi Kumar</dc:creator>
      <pubDate>Sat, 05 Dec 2020 11:50:27 +0000</pubDate>
      <link>https://dev.to/sakshi006/eloquent-javascript-introduction-3m85</link>
      <guid>https://dev.to/sakshi006/eloquent-javascript-introduction-3m85</guid>
      <description>&lt;p&gt;I have started off with this book and will be posting about the things I got to learn in each chapter. So, this will be a series of blogs providing you the gist of every chapter. Happy reading!:)&lt;br&gt;
&lt;a href="https://ejs-challenge.netlify.app/"&gt;#teamtanayejschallenge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Day0 : INTRODUCTION&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Table Of Contents
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;What is programming? Why is it important?&lt;/li&gt;
&lt;li&gt;Programming Languages&lt;/li&gt;
&lt;li&gt;What is JavaScript?&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
  
  
  What is programming? Why is it important?&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Look anywhere around you and you will find technology. What drives technology? Programs! Codes! The art of writing understandable and clean programs is programming. It is basically the act of constructing a program which is a set of precise instructions telling a computer what to do. Computer itself is a dumb machine, it works on the instructions provided by us that drives it towards the completion of a task. &lt;/p&gt;
&lt;h4&gt;
  
  
  Programming Languages&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;A programming language is a formal language comprising a set of instructions that produce various kinds of output. It is the language of the computers. These digital devices recognize only two digits 0 and 1, also known as machine code (developed in binary system). Firstly, let's look at the classification of languages.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wCk-7G6A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSdGzQC628v9cJo1HcUqlSD7cAKsZKv3H2r5A%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wCk-7G6A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcSdGzQC628v9cJo1HcUqlSD7cAKsZKv3H2r5A%26usqp%3DCAU" alt="classification"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HIGH-LEVEL LANGUAGE : 
C, C++, JavaScript, etc. are the languages that humans have devised, they are high-level languages understood by programmers. It enables the users to write the programs in a language which consists of English words and mathematical expressions. 
You might have written a few programs by now, the code that we write, i.e. the source code is the programming instructor of a procedural language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Example :&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   var a = 10;
   var b = 5;
   var c = a+b;
   console.log(c);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;This is the program for adding two numbers in a high-level language (JS)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;We use compilers to convert these high level languages into the machine-readable codes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8g9jEYR3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.assignmentpoint.com/wp-content/uploads/2016/09/Compiler.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8g9jEYR3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.assignmentpoint.com/wp-content/uploads/2016/09/Compiler.jpg" alt="Compiler"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;ASSEMBLY LANGUAGE :
It is an intermediary level programming language. It allows the user to write a program using alphanumeric mnemonic codes instead of 0s and 1s. For example, for addition, subtraction, multiplication it uses ADD,SUM,MUL.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Assembly language is converted to machine language using an assembler.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KP_yylGM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://media.geeksforgeeks.org/wp-content/uploads/20200420011408/gfg612.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KP_yylGM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://media.geeksforgeeks.org/wp-content/uploads/20200420011408/gfg612.png" alt="Assembler"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  You can read about the difference between Compiler and Assembler in detail over &lt;a href="https://www.geeksforgeeks.org/difference-between-compiler-and-assembler/"&gt;here&lt;/a&gt;.
&lt;/h6&gt;




&lt;ul&gt;
&lt;li&gt;MACHINE LANGUAGE : 
Machine Language is the low level programming language. It can only be represented by 0's and 1's. This is the computer understandable language and thereafter our programs get executed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZoFW8EWj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.cs.uah.edu/%257Ercoleman/CS121/ClassTopics/Images/ProgLanguages06.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZoFW8EWj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.cs.uah.edu/%257Ercoleman/CS121/ClassTopics/Images/ProgLanguages06.jpg" alt="classification"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h4&gt;
  
  
  What is JavaScript?&lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;JavaScript is the Programming Language for the Web. It can update and change both HTML and CSS. JavaScript was initially created to “make web pages alive”.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qBlEzRCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcTlkzETG6Y1nVleohj3FLtTiWk9WgbW85a-zQ%26usqp%3DCAU" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qBlEzRCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://encrypted-tbn0.gstatic.com/images%3Fq%3Dtbn:ANd9GcTlkzETG6Y1nVleohj3FLtTiWk9WgbW85a-zQ%26usqp%3DCAU" alt="JavaScript"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  &lt;em&gt;^This image briefly describes the purpose of JavaScript&lt;/em&gt;
&lt;/h6&gt;




&lt;p&gt;There are at least three great things about JavaScript:&lt;br&gt;
Full integration with HTML/CSS.&lt;br&gt;
Simple things are done simply.&lt;br&gt;
Support by all major browsers and enabled by default.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Additional information&lt;/strong&gt;&lt;br&gt;
When JavaScript was created, it initially had another name: “LiveScript”. But Java was very popular at that time, so it was decided that positioning a new language as a “younger brother” of Java would help.&lt;/p&gt;

&lt;p&gt;But as it evolved, JavaScript became a fully independent language with its own specification called ECMAScript, and now it has no relation to Java at all.&lt;/p&gt;




&lt;p&gt;👉 &lt;em&gt;(JAVASCRIPT AND JAVA ARE TWO COMPLETELY DIFFERENT LANGUAGES!)&lt;/em&gt; 👈&lt;/p&gt;




&lt;p&gt;JavaScript is a bit liberal in what it allows. This was introduced in the favor of beginner programmers, so that they can code easily. A drawback of this functionality was that it mostly makes finding problems in your programs harder because the system will not point them out to you. On the other hand, it has some advantages as well - it can be used to overcome some of JavaScript’s shortcomings.&lt;br&gt;
The language is still evolving. Apart from web browsers, it is also used as Scripting and query language for databases like MongoDB and CouchDB. Node.js provide an environment for programming JavaScript outside of the browser.&lt;/p&gt;

&lt;p&gt;In the subsequent chapters we will learn about :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic structure of JS.&lt;/li&gt;
&lt;li&gt;Functions.&lt;/li&gt;
&lt;li&gt;Data Structures.&lt;/li&gt;
&lt;li&gt;Techniques to write abstract code keeping complexity under control.&lt;/li&gt;
&lt;li&gt;Error Handling and Bug Fixing.&lt;/li&gt;
&lt;li&gt;Regular Expressions.&lt;/li&gt;
&lt;li&gt;Modularity, etc.&lt;/li&gt;
&lt;/ul&gt;







&lt;p&gt;Thankyou for reading!😃&lt;br&gt;
All feedbacks are welcome 🙆‍♀️&lt;/p&gt;

&lt;p&gt;Connect with me on :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/Sakshiii_6"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sakshi006"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>codenewbie</category>
      <category>webdev</category>
      <category>teamtanayejschallenge</category>
    </item>
  </channel>
</rss>
