<?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: MD. Badsha Fahadh</title>
    <description>The latest articles on DEV Community by MD. Badsha Fahadh (@fahadmridha).</description>
    <link>https://dev.to/fahadmridha</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%2F1024513%2Fc868ea46-7da5-488e-9c0d-7b11a0d35a3c.jpg</url>
      <title>DEV Community: MD. Badsha Fahadh</title>
      <link>https://dev.to/fahadmridha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fahadmridha"/>
    <language>en</language>
    <item>
      <title>Common interview questions that you need to know as a junior JavaScript developer.</title>
      <dc:creator>MD. Badsha Fahadh</dc:creator>
      <pubDate>Sat, 11 Feb 2023 11:09:05 +0000</pubDate>
      <link>https://dev.to/fahadmridha/common-interview-questions-that-you-need-to-know-as-a-junior-javascript-developer-37mc</link>
      <guid>https://dev.to/fahadmridha/common-interview-questions-that-you-need-to-know-as-a-junior-javascript-developer-37mc</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;What are the various data types that exist in JavaScript?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;These are the different types of data that JavaScript supports:&lt;br&gt;
Boolean - For true and false values&lt;br&gt;
Null - For empty or unknown values&lt;br&gt;
Undefined - For variables that are only declared and not defined or initialized&lt;br&gt;
Number - For integer and floating-point numbers&lt;br&gt;
String - For characters and alphanumeric values&lt;br&gt;
Object - For collections or complex values&lt;br&gt;
Symbols - For unique identifiers for objects&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What is JavaScript Hoisting?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Hoisting is the default behavior of JavaScript where all the variable and function declarations are&lt;br&gt;
moved on top. This means that irrespective of where the variables and functions are declared,&lt;br&gt;
they are moved on top of the scope. The scope can be both local and global.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What are the features of JavaScript?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;These are the features of JavaScript:&lt;br&gt;
Lightweight, interpreted programming language&lt;br&gt;
Cross-platform compatible&lt;br&gt;
Open-source&lt;br&gt;
Object-oriented&lt;br&gt;
Integration with other backend and frontend technologies&lt;br&gt;
Used especially for the development of network-based applications.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What are "null" and "undefined"?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In JavaScript null is an object, where undefined is a type. null means empty. It can be assigned as a value where you don't want to assign any specific value. undefined means when a variable is declared but no value is assigned to it.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What is DOM ??&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Document Object Model is a programming interface for HTML and XML. A webpage is an HTML document. We can't manipulate this document with a programming language. So DOM comes into play. DOM is an object-oriented representation of an HTML document. It represents the document as nodes and object which can be manipulated by a programming language such as JavaScript.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;JavaScript arrow function.&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;JavaScript arrow function is shorthand of normal function in JavaScript. But it has some limitations too.&lt;/p&gt;

&lt;p&gt;*Does not have its own bindings to this or super, and should not be used as methods.&lt;br&gt;
*Does not have arguments, or new.target keywords.&lt;br&gt;
*Not suitable for call, apply and bind methods, which generally rely on establishing a scope.&lt;br&gt;
*Can not be used as constructors.&lt;br&gt;
*Can not use yield, within its body.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//Traditional Named Function with arguments
function add(x, y) {
  return x + y; 
} 

//Arrow Function 
add (a, b) =&amp;gt; {
 return a + b;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>ai</category>
      <category>privacy</category>
      <category>workstations</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
