<?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: aishwaryavasu0509</title>
    <description>The latest articles on DEV Community by aishwaryavasu0509 (@aishwaryavasu0509).</description>
    <link>https://dev.to/aishwaryavasu0509</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%2F646060%2F7bea1faa-44e2-46ee-b1ab-5c0570a06196.png</url>
      <title>DEV Community: aishwaryavasu0509</title>
      <link>https://dev.to/aishwaryavasu0509</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aishwaryavasu0509"/>
    <language>en</language>
    <item>
      <title>tic-tac-toe game using javascript,html,css</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Sun, 27 Jun 2021 08:59:39 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/tic-tac-toe-game-using-javascript-html-css-4mgb</link>
      <guid>https://dev.to/aishwaryavasu0509/tic-tac-toe-game-using-javascript-html-css-4mgb</guid>
      <description>&lt;h2&gt;
  
  
  plan to build the tic-tac-toe game
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--s8-MLE9D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eu0h6ltqx2k5b65kzqzg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--s8-MLE9D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eu0h6ltqx2k5b65kzqzg.png" alt="tic-tac-toe"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;before we actually jump into building the application we need to break the big task into subtasks. The frontend of the application is very important to give an impression and to intrigue the user to give the application a try.i have attempted to make the frontend of the application simple yet appealing.so after deciding on the layout of the application i divided the home page into several boxes. the "wrapper" is what i called the box consisiting of the entire page.Next, the wrapper can be divided into left and right subparts after which each subparts can be subdidvided according to their components.by approaching a problem with divide and conquer approach we can concentrate better in developing the details of the application.The styling of the page is done with css and the logic of the game is built with javascript.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/aishwaryavasu0509/live-tic-tac-toe-game"&gt;find the source code here!!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Type Conversion and Coersion in JavaScript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Thu, 24 Jun 2021 06:15:31 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/type-conversion-and-coersion-in-javascript-3aco</link>
      <guid>https://dev.to/aishwaryavasu0509/type-conversion-and-coersion-in-javascript-3aco</guid>
      <description>&lt;h2&gt;
  
  
  Type conversion in javascript:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ett4KbrI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a6j4gcdazog39ogyq0jg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ett4KbrI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a6j4gcdazog39ogyq0jg.jpg" alt="type conversion"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;JavaScript variables can be converted to a new variable and another data type either by the use of a JavaScript function&lt;br&gt;
or automatically by JavaScript itself&lt;/p&gt;

&lt;p&gt;javascript type conversions are possible only in the following combinations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;number to string&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.string to number&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;boolean conversions&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;the conversions to undefined or null type is not possible in javascript&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;1.conversion of string to Number datatype in javascript&lt;/p&gt;

&lt;p&gt;const inputYear = '1991';&lt;/p&gt;

&lt;p&gt;console.log(Number(inputYear),inputYear);&lt;/p&gt;

&lt;p&gt;console.log(Number(inputYear)+18);&lt;/p&gt;

&lt;p&gt;2.conversion of string to number is not possible in the following caseas it would yield an reference error.&lt;/p&gt;

&lt;p&gt;console.log(Number('Jonas'));&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Not an number(NaN is also a number type in javascript)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;console.log(typeof NaN);&lt;/p&gt;

&lt;p&gt;//conversion of integer to string&lt;/p&gt;

&lt;p&gt;console.log(String(23),23);&lt;/p&gt;

&lt;h2&gt;
  
  
  type coersion in javascript
&lt;/h2&gt;

&lt;p&gt;Type Coercion refers to the process of automatic or implicit conversion of values from one data type to another. This includes conversion from Number to String, String to Number, Boolean to Number etc. when different types of operators are applied to the values.&lt;/p&gt;

&lt;p&gt;In case the behavior of the implicit conversion is not sure, the constructors of a data type can be used to convert any value to that datatype, like the Number(), String() or Boolean() constructor.&lt;/p&gt;

&lt;p&gt;examples:&lt;/p&gt;

&lt;p&gt;console.log(&lt;code&gt;i am&lt;/code&gt; + 23 + &lt;code&gt;years old&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;// the 23 is converted to the string type&lt;/p&gt;

&lt;p&gt;console.log(&lt;code&gt;23&lt;/code&gt;+&lt;code&gt;10&lt;/code&gt;+&lt;code&gt;2&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;//this will result in a string 23102&lt;/p&gt;

&lt;p&gt;console.log(&lt;code&gt;23&lt;/code&gt;-3+&lt;code&gt;12&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;//this will convert all the strings to Number datatype&lt;/p&gt;

&lt;p&gt;let n=&lt;code&gt;1&lt;/code&gt;+1;&lt;/p&gt;

&lt;p&gt;n=n-1;&lt;/p&gt;

&lt;p&gt;console.log(n)&lt;/p&gt;

&lt;p&gt;//the first thing is 11 as a string the n=n-1 will convert all of it to numbers and the result will be 10&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>Basic operators in JavaScript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Thu, 24 Jun 2021 05:43:53 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/basic-operators-in-javascript-5aem</link>
      <guid>https://dev.to/aishwaryavasu0509/basic-operators-in-javascript-5aem</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--916gME2P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hx21jw4lsw5ub8aq5tly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--916gME2P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hx21jw4lsw5ub8aq5tly.png" alt="operators"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  what is an operator?
&lt;/h2&gt;

&lt;p&gt;An operator performs some operation on single or multiple operands (data value) and produces a result. &lt;/p&gt;

&lt;p&gt;example:&lt;br&gt;
const firstYear=2037;&lt;br&gt;
const ageJonas = firstYear-656&lt;br&gt;
const ageSarah = firstYear-2018&lt;/p&gt;

&lt;p&gt;console.log(ageJonas,ageSarah) //logging multiple values.&lt;br&gt;
console.log(ageJonas*2,ageSarah*3); // multiplying&lt;br&gt;
console.log(2**3,ageSarah/10)//dividing the values&lt;/p&gt;

&lt;h3&gt;
  
  
  string concatination
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--61si8FMJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5cvitipj3z9m23jg1e4e.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--61si8FMJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5cvitipj3z9m23jg1e4e.jpg" alt="string concatination"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This method is used to join two or more strings. This method does not change the existing strings, but returns a new string containing the text of the joined strings.&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;const firstName="Jonas";&lt;br&gt;
const latName="node";&lt;br&gt;
console.log(firstName+' '+lastName);&lt;/p&gt;

&lt;h3&gt;
  
  
  assignment operator
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--w59mJIxo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6cz6vwh48x8jypz17xza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--w59mJIxo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6cz6vwh48x8jypz17xza.png" alt="assignment operator"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An assignment operator assigns a value to its left operand based on the value of its right operand. &lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;let x=15;&lt;br&gt;
let y=56;&lt;/p&gt;

&lt;p&gt;console.log(x+y,x-y);&lt;/p&gt;

&lt;p&gt;let z;&lt;br&gt;
z=x+y;&lt;/p&gt;

&lt;p&gt;consloe.log(z+y);&lt;/p&gt;

&lt;p&gt;x+=10 //x=x+10&lt;br&gt;
y+=20//y=y+20&lt;br&gt;
x++//single incremetor&lt;br&gt;
x--//single decrementor&lt;/p&gt;

&lt;h3&gt;
  
  
  comparison operators (&amp;gt;,&amp;lt;,===,&amp;gt;=,&amp;lt;=)
&lt;/h3&gt;

&lt;p&gt;Comparison operators are used in logical statements to determine equality or difference between variables or values.&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;console.log(ageSarah &amp;gt; ageJonas) // either true or false&lt;br&gt;
console.log(ageSarah&amp;gt;=18);&lt;br&gt;
console.log(ageJonas&amp;gt;=20);&lt;/p&gt;

&lt;p&gt;let islarger = ageSarah &amp;gt;=ageJonas; // stores value as a boolean&lt;/p&gt;

&lt;h3&gt;
  
  
  Equality Operators: == vs. ===
&lt;/h3&gt;

&lt;p&gt;In one word, main difference between "==" and "===" operator is that formerly compares variable by making type correction e.g. if you compare a number with a string with numeric literal, == allows that, but === doesn't allow that, because it not only checks the value but also type of two variable, if two variables are not of the same type "===" return false, while "==" return true. &lt;/p&gt;

&lt;p&gt;examples:&lt;/p&gt;

&lt;p&gt;const age =&lt;code&gt;18&lt;/code&gt;;&lt;/p&gt;

&lt;p&gt;if(age ===18) console.log(&lt;code&gt;you just became an adult :D(strict)&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;// strict equality check with the age and it will yield in the message&lt;/p&gt;

&lt;p&gt;if(age == 18) console.log(&lt;code&gt;you just become an adult :D(llose&lt;/code&gt;));&lt;/p&gt;

&lt;p&gt;console.log(a = b = 59);&lt;br&gt;
// expected output: 59&lt;/p&gt;

&lt;h3&gt;
  
  
  Logical Operators
&lt;/h3&gt;

&lt;p&gt;Logical operators are used to determine the logic between variables or values.&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;const hasDriversLiscense = true;&lt;br&gt;
const hasGoodVision = false;&lt;/p&gt;

&lt;p&gt;//the logical and operator&lt;/p&gt;

&lt;p&gt;console.log(hasDriversLiscense &amp;amp;&amp;amp; hasGoodVision);&lt;/p&gt;

&lt;p&gt;//the logical or operator&lt;/p&gt;

&lt;p&gt;console.log(hasDriversLiscense || hasGoodVision);&lt;/p&gt;

&lt;p&gt;//the logical not operator&lt;/p&gt;

&lt;p&gt;console.log(!hasDriversLiscense);&lt;/p&gt;

&lt;p&gt;if(hasDriversLiscense &amp;amp;&amp;amp; hasGoodVision) {&lt;/p&gt;

&lt;p&gt;console.log(&lt;code&gt;sarah is able to drive&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;else{&lt;/p&gt;

&lt;p&gt;console.log(&lt;code&gt;she must not frive&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;//logical operations with more than two boolean variables&lt;/p&gt;

&lt;p&gt;const isTired = False;&lt;/p&gt;

&lt;p&gt;console.log(hasDriversLiscense &amp;amp;&amp;amp; hasGoodVision||isTired)&lt;/p&gt;

&lt;p&gt;// true||true returns true&lt;/p&gt;

&lt;p&gt;if(hasDriversLiscense &amp;amp;&amp;amp; hasGoodVision&amp;amp;&amp;amp;isTired)&lt;/p&gt;

&lt;p&gt;{&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; console.log(`probably no!!`);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;else if ((hasDriversLiscense &amp;amp;&amp;amp; hasGoodVision||isTired)&lt;/p&gt;

&lt;p&gt;{&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  console.log(`its a no`);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;else&lt;/p&gt;

&lt;p&gt;{&lt;/p&gt;

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

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;h3&gt;
  
  
  The Conditional (Ternary) Operator
&lt;/h3&gt;

&lt;p&gt;ternary operator:&lt;/p&gt;

&lt;p&gt;let age=21&lt;/p&gt;

&lt;p&gt;const drink = age &amp;gt;=18 ? 'wine':'water';&lt;/p&gt;

&lt;p&gt;console.log(drink);&lt;/p&gt;

&lt;h2&gt;
  
  
  Operator precedence in javascript
&lt;/h2&gt;

&lt;p&gt;Operator precedence determines how operators are parsed concerning each other. Operators with higher precedence become the operands of operators with lower precedence.&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;console.log(42 * 3 ** 3); // 42 * 27&lt;br&gt;
// expected output: 1134&lt;/p&gt;

&lt;p&gt;let a;&lt;br&gt;
let b;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/operator-precedence-in-javascript/"&gt;operator precedence and associativity in javascript&lt;/a&gt;&lt;/p&gt;

</description>
      <category>operators</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Data types in javaScript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Thu, 24 Jun 2021 05:21:49 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/data-types-in-javascript-13jh</link>
      <guid>https://dev.to/aishwaryavasu0509/data-types-in-javascript-13jh</guid>
      <description>&lt;h2&gt;
  
  
  Different Datatypes in JavaScript
&lt;/h2&gt;

&lt;p&gt;In javascript every value is an object or a primitive.&lt;br&gt;
A value is primitive only if its not an object.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9uHTLOYo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rtw00gjkpg070sork5xk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9uHTLOYo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rtw00gjkpg070sork5xk.jpg" alt="Data types"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  numbers:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VSFF9b6j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hilc1617z1d8pvdsyhmq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VSFF9b6j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hilc1617z1d8pvdsyhmq.jpg" alt="numbers"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;floating point numbers even if we dont see the decimal point &lt;br&gt;
   there is always floating point values. used for decimals and &lt;br&gt;
   integers.&lt;/p&gt;

&lt;p&gt;eg:  let varOne = 3.4545;&lt;br&gt;
     let varTwo =23; both are the same&lt;/p&gt;

&lt;p&gt;A number type can also be +Infinity, -Infinity, and NaN (not a number). For example,&lt;/p&gt;

&lt;p&gt;const number1 = 3/0;&lt;br&gt;
console.log(number1); // Infinity&lt;/p&gt;

&lt;p&gt;const number2 = -3/0;&lt;br&gt;
console.log(number2); // -Infinity&lt;/p&gt;

&lt;p&gt;// strings can't be divided by numbers&lt;br&gt;
const number3 = "abc"/3; &lt;br&gt;
console.log(number3);  // NaN&lt;/p&gt;

&lt;h3&gt;
  
  
  strings:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ja4NBPF9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ql3aghsfs9rgz52n8yds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ja4NBPF9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ql3aghsfs9rgz52n8yds.png" alt="strings"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;String is used to store text. In JavaScript, strings are &lt;br&gt;
  surrounded by quotes:&lt;/p&gt;

&lt;p&gt;1.Single quotes: 'Hello'&lt;br&gt;
  2.Double quotes: "Hello"&lt;br&gt;
  3.Backticks: &lt;code&gt;Hello&lt;/code&gt; (ES6 syntax)&lt;/p&gt;

&lt;p&gt;example:&lt;br&gt;
   let firstName="aishwarya";&lt;br&gt;
   const name = 'ram';&lt;br&gt;
   const name1 = "hari";&lt;br&gt;
   const result = &lt;code&gt;The names are ${name} and ${name1}&lt;/code&gt;;&lt;/p&gt;

&lt;h3&gt;
  
  
  boolean:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4STYYbvj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0hc4awlwqaycqvursw13.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4STYYbvj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0hc4awlwqaycqvursw13.gif" alt="boolean"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A JavaScript Boolean represents one of two values: true or false.&lt;/p&gt;

&lt;p&gt;either true or false variable types.&lt;br&gt;
let fullAge = true;&lt;br&gt;
Boolean(10 &amp;gt; 9)        // returns true&lt;/p&gt;

&lt;h3&gt;
  
  
  falsy values:
&lt;/h3&gt;

&lt;p&gt;falsy values: 0,'',undefined,null,NaN&lt;/p&gt;

&lt;p&gt;console.log(Boolean(0));&lt;/p&gt;

&lt;p&gt;console.log(Boolean(undefined));&lt;/p&gt;

&lt;p&gt;console.log(Boolean('Jonas'));&lt;/p&gt;

&lt;p&gt;console.log(Boolean(()));&lt;/p&gt;

&lt;p&gt;console.log(Boolean('')); // returns falsy values&lt;/p&gt;

&lt;h3&gt;
  
  
  undefined:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nIpXvpcS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xnief4d7wxy0vangi2zq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nIpXvpcS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xnief4d7wxy0vangi2zq.png" alt="undefined and null"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;values taken by the variables that are not yet defined&lt;br&gt;
eg: let children;&lt;/p&gt;

&lt;h3&gt;
  
  
  Null:
&lt;/h3&gt;

&lt;p&gt;empty value variable&lt;br&gt;
let food='null';&lt;/p&gt;

&lt;h3&gt;
  
  
  symbol:
&lt;/h3&gt;

&lt;p&gt;Symbols are new primitive type introduced in ES6. Symbols are completely unique identifiers. Just like their primitive counterparts (Number, String, Boolean), they can be created using the factory function Symbol() which returns a Symbol. Every time you call the factory function, a new and unique symbol is created&lt;/p&gt;

&lt;h3&gt;
  
  
  BigInt:
&lt;/h3&gt;

&lt;p&gt;BigInt is a built-in object in JavaScript that provides a way to represent whole numbers larger than 253-1. The largest number that JavaScript can reliably represent with the Number primitive is 253-1, which is represented by the MAX_SAFE_INTEGER constant.&lt;/p&gt;

</description>
      <category>datatypes</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Dynamic typing in Javascript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Tue, 22 Jun 2021 18:50:15 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/dynamic-typing-in-javascript-4l8b</link>
      <guid>https://dev.to/aishwaryavasu0509/dynamic-typing-in-javascript-4l8b</guid>
      <description>&lt;h2&gt;
  
  
  what is dynamic typing ?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0hVIcmOV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hw7mb172d4s3f3m7ojn1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0hVIcmOV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hw7mb172d4s3f3m7ojn1.png" alt="Dynamic typing"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Javascript is a dynamic typing language. When you declare a variable, you do not need to specify what type this variable is. Javascript engine infers what type this variable is based on the value assigned to at run time.&lt;/p&gt;

&lt;p&gt;example:&lt;/p&gt;

&lt;p&gt;let name= "bob";&lt;br&gt;
console.log(typoeof name);&lt;/p&gt;

&lt;p&gt;name=5&lt;/p&gt;

&lt;p&gt;console.log(typeof name);&lt;/p&gt;

&lt;p&gt;firstly, the variable was a string and now it is of number datatype.&lt;br&gt;
same thing can be done with null and undefined as well nd amongst any datatypes for that matter of fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pros and Cons of Dynamic typing in JavaScript
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Pros:
&lt;/h3&gt;

&lt;p&gt;1.Deals naturally with certain types of self-describing data.&lt;br&gt;
2.Code can be use polymorphically without programmer decoration.&lt;br&gt;
3.Tends to reduce unnecessary clutter and duplication/repetition in code.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;p&gt;1.More errors detected later in development and in maintenance.&lt;br&gt;
2.More errors at runtime and in shipped code.&lt;br&gt;
3.Tends to prohibit compilation and yields poor performing code.&lt;br&gt;
4.Need to write entirely mechanical tests for type correctness.&lt;/p&gt;

</description>
      <category>dynamictyping</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Values and Variables in JavaScript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Tue, 22 Jun 2021 18:40:25 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/values-and-variables-in-javascript-2pd3</link>
      <guid>https://dev.to/aishwaryavasu0509/values-and-variables-in-javascript-2pd3</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dRDoPrzQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nrezaipbkretx5xl1q61.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dRDoPrzQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nrezaipbkretx5xl1q61.jpg" alt="variables"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Variables in JavaScript
&lt;/h2&gt;

&lt;p&gt;There are 3 ways to declare a JavaScript variable:&lt;/p&gt;

&lt;p&gt;1.Using var&lt;/p&gt;

&lt;p&gt;2.Using let&lt;/p&gt;

&lt;p&gt;3.Using const&lt;/p&gt;

&lt;p&gt;Variables are containers for storing data (values).&lt;/p&gt;

&lt;p&gt;In this example, x, y, and z, are variables, declared with the var keyword:&lt;/p&gt;

&lt;p&gt;Example&lt;br&gt;
var x = 5;&lt;br&gt;
var y = 6;&lt;br&gt;
var z = x + y;&lt;/p&gt;

&lt;p&gt;From the example above, you can expect:&lt;/p&gt;

&lt;p&gt;x stores the value 5&lt;/p&gt;

&lt;p&gt;y stores the value 6&lt;/p&gt;

&lt;p&gt;z stores the value 11&lt;/p&gt;

&lt;p&gt;example 2:&lt;/p&gt;

&lt;p&gt;var price1 = 5;&lt;br&gt;
var price2 = 6;&lt;br&gt;
var total = price1 + price2;&lt;/p&gt;

&lt;p&gt;In programming, just like in algebra, we use variables (like price1) to hold values.&lt;/p&gt;

&lt;p&gt;In programming, just like in algebra, we use variables in expressions (total = price1 + price2).&lt;/p&gt;

&lt;p&gt;From the example above, you can calculate the total to be 11.&lt;/p&gt;

&lt;p&gt;the let and const ways of declaring variables are used and var is comparitively an old way of declaring variables in javascript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Naming Conventions for variables and constants in JavaScript
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8NjEKPQI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c0ni4olembuumpzs3vwj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8NjEKPQI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c0ni4olembuumpzs3vwj.jpg" alt="Naming conventions"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1.reserved keywords cannot be used as variable names&lt;br&gt;
   let new=27;&lt;br&gt;
   let function = 'fun'; //error as function cannot be a name&lt;/p&gt;

&lt;p&gt;2.variable names can start with $ or underscores and alphabets &lt;br&gt;
  only.&lt;br&gt;
    let$function = 3; // this is allowed&lt;/p&gt;

&lt;p&gt;3.conventionally variables must not start with caps until its a &lt;br&gt;
  class or constant&lt;br&gt;
  let Person = 'Jonas'; &lt;/p&gt;

&lt;p&gt;4.constants are writtern with upper case&lt;br&gt;
    let PI = 3.1233; &lt;/p&gt;

&lt;p&gt;5.naming conventions that involve elaborate wordings are prefered &lt;br&gt;
  over including numbers in the declaration.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let myFirstJob = "programmer";
let myCurrentJob = "teacher";

let country = "India";
let continent = "Asia";
let population = 565756767687;

let job1="programmer";
let job2="teacher";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  More Examples on using variables
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1.declaring a variable and assigning a value to the variable
   let js = 'amazing';

2. console.log() is used whenever we need to output something 
   to the browser

   console.log(40*8+23-10);
   console.log("Jonas");
   console.log(23);

   let firstName = "Jonas";  //first_name notation isalso used
   console.log(firstName);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;3.camel case is used when more than one words are used&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let 3years=7;//variable name cannot start with a number 
let first_name ="aishwarya";

let jonas$natella ='JN'// error as we can have only 
 numbers,letters,and underscores
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>variables</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Introduction to JavaScript</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Tue, 22 Jun 2021 18:11:57 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/introduction-to-javascript-33ak</link>
      <guid>https://dev.to/aishwaryavasu0509/introduction-to-javascript-33ak</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--s-wlj4ry--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/scx37bddb257xm8gn3pi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--s-wlj4ry--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/scx37bddb257xm8gn3pi.png" alt="Javascript"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Javascript?
&lt;/h2&gt;

&lt;p&gt;javascript is a high-level object oriented multi-paradigm programming language.breaking down the description everyone has an intiuition on what is a programming language.object oriented programming languages deal with OOP concepts.Object-oriented language uses an object-oriented programming technique that binds related data and functions into an object and encourages reuse of these objects within the same and other programs. languages such as C++,Java,Python are some of the well known programming languages.The idea of a multiparadigm language is to provide a framework in which programmers can work in a variety of styles, freely intermixing constructs from different paradigms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/introduction-object-oriented-programming-javascript/"&gt;explore more on object oriented programming&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/introduction-object-oriented-programming-javascript/"&gt;explore more on programming paradigms&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where is JavaScript beign used?
&lt;/h2&gt;

&lt;p&gt;JavaScript is mainly used for web-based applications and web browsers. But JavaScript is also used beyond the Web in software, servers and embedded hardware controls. Here are some basic things JavaScript is used for:&lt;/p&gt;

&lt;p&gt;1.Adding interactive behavior to web pages&lt;br&gt;
JavaScript allows users to interact with web pages. There are almost no limits to the things you can do with JavaScript on a web page &lt;/p&gt;

&lt;p&gt;2.Creating web and mobile apps&lt;br&gt;
Developers can use various JavaScript frameworks for developing and building web and mobile apps. &lt;/p&gt;

&lt;p&gt;3.Building web servers and developing server applications&lt;/p&gt;

&lt;p&gt;4.Game development&lt;/p&gt;

&lt;h2&gt;
  
  
  Role of JavaScript in Web development
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IfaSsjXX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x26mr77zc5zvab5uh3lp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IfaSsjXX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x26mr77zc5zvab5uh3lp.png" alt="JavaScript and WebDev"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In frontend development html,css and javascript is used. html acts like a noun it says what the text is example &lt;/p&gt;
is a paragraph. the css aspect of the page acts like an adjective describing the html eg. the paragraph is red. and the javascript acts like an verb saying the action on what is to be done with it eg. hide the paragraph.
&lt;h2&gt;
  
  
  How to integrate JavaScript with html files?
&lt;/h2&gt;

&lt;p&gt;We can use google chrom console to execute basci Javascript &lt;br&gt;
   expressions but its not always what we want to!. so,how to &lt;br&gt;
   integrate html and css code with javascript?. this is usually &lt;br&gt;
   done in the index.html file itself by including the path to the&lt;br&gt;
   javascript file.&lt;/p&gt;

</description>
      <category>javascript</category>
    </item>
    <item>
      <title>all you need to know about mongoDB -1</title>
      <dc:creator>aishwaryavasu0509</dc:creator>
      <pubDate>Mon, 21 Jun 2021 18:47:01 +0000</pubDate>
      <link>https://dev.to/aishwaryavasu0509/all-you-need-to-know-about-mongodb-1-57og</link>
      <guid>https://dev.to/aishwaryavasu0509/all-you-need-to-know-about-mongodb-1-57og</guid>
      <description>&lt;h2&gt;
  
  
  what is MongoDB?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tomA1mFk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w97jiy3i08lbanc4oc6y.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tomA1mFk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w97jiy3i08lbanc4oc6y.jpg" alt="image showing mongodb"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well, this may not seem new to many if I say that MongoDB is a no SQL database which is used due to various advantages it holds over relational databases such as MySQL, PostgreSQL. NoSQL databases (aka "not only SQL") are nontabular and store data differently than relational tables. NoSQL databases come in a variety of types based on their data model. The main types are document, key-value, wide-column, and graph. They provide flexible schemas and scale easily with large amounts of data and high user loads. but, MongoDB is also a functional organization apart from the famous NoSQL database services provided by it MongoDB provides numerous other services such as cloud services for free and paid versions the free version is generous enough to provide up to 5GB storage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.mongodb.com/"&gt;to explore more about MongoDB click me!&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  who is using MongoDB?
&lt;/h2&gt;

&lt;p&gt;MongoDB is one of the most widely used databases for various application fields. One learning this skill will be of most benefit to the organization and personal knowledge. The majority of the modern programming languages goes handy with MongoDB.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wXk-XIoX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2igufe1yw7vrb5cdi3kp.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wXk-XIoX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2igufe1yw7vrb5cdi3kp.jpg" alt="sectors where mongoDB is beign used"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.mongodb.com/who-uses-mongodb"&gt;customers that use MongoDB&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does MongoDB work?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UTVamgeO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q72lczxvy1l7l9kw751e.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UTVamgeO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q72lczxvy1l7l9kw751e.jpg" alt="Workflow of MongoDB"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But before proceeding to its working, first, let’s discuss some important parts of MongoDB –&lt;/p&gt;

&lt;h3&gt;
  
  
  Drivers:
&lt;/h3&gt;

&lt;p&gt;Drivers are present on your server that is used to communicate with MongoDB. The driver's support by MongoDB is C, C++, C#, and .Net, Go, Java, Node.js, Perl, PHP, Python, Motor, Ruby, Scala, Swift, Mongoid.&lt;br&gt;
MongoDB Shell: MongoDB Shell or mongo shell is an interactive JavaScript interface for MongoDB. It is used for queries, data updates, and it also performs administrative operations.&lt;br&gt;
Storage Engine: It is an important part of MongoDB which is generally used to manage how data is stored in the memory and on the disk. MongoDB can have multiple search engines. You are allowed to use your search engine and if you don’t want to use your search engine you can use the default search engine, known as WiredTiger Storage Engine which is an excellent storage engine, it efficiently works with your data like reading, writing, etc.&lt;/p&gt;

&lt;p&gt;MongoDB work in two layers –&lt;br&gt;
1.Application Layer and&lt;br&gt;
2.Data layer&lt;/p&gt;

&lt;p&gt;The Application Layer is also known as the Final Abstraction Layer, it has two parts, the first is a Frontend (User Interface) and the second is Backend (server). The frontend is the place where the user uses MongoDB with the help of a Web or Mobile. This web and mobile include web pages, mobile applications, android default applications, IOS applications, etc. The backend contains a server that is used to perform server-side logic and also contains drivers or mongo shells to interact with the MongoDB server with the help of queries.&lt;/p&gt;

&lt;p&gt;These queries are sent to the MongoDB server present in the Data Layer. Now, the MongoDB server receives the queries and passes the received queries to the storage engine. MongoDB server itself does not directly read or write the data to the files or disk or memory. After passing the received queries to the storage engine, the storage engine is responsible to read or write the data in the files or memory it manages the data&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.guru99.com/what-is-mongodb.html#4"&gt;More on MongoDB architecture&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  what is mocha and why do we need it?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Mocha:
&lt;/h3&gt;

&lt;p&gt;Mocha is a testing framework that is used to perform tests within our application. It makes sure everything works correctly.&lt;br&gt;
‘Mocha in Node.js’ means using the mocha unit testing framework in the Node.js runtime environment. Mocha has tons of great features.&lt;br&gt;
Key Features:&lt;/p&gt;

&lt;p&gt;1.Simple async support.&lt;br&gt;
2.Async test timeout support.&lt;br&gt;
3.Use any assertion library you want&lt;br&gt;
4.Before, after, before each, after each hook is very useful to &lt;br&gt;
  clean the environment with each test.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DbnIwDWV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c90ep5zljajztfg3lugx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DbnIwDWV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c90ep5zljajztfg3lugx.png" alt="Mocha TDD"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"This is an introductory post to explain my best on mongoDB and test development using maongodb with mocha in the follow up of this post i will be sharing more details &lt;br&gt;
installation and setup of MongoDB in your local system,commands,schema,etc.. and will try to provide insights on building a mini project with MongoDB database. pls do share your thoughts on this post as comments"&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>mocha</category>
      <category>chai</category>
    </item>
  </channel>
</rss>
