<?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: Abdur Rahman</title>
    <description>The latest articles on DEV Community by Abdur Rahman (@abdurrahman200).</description>
    <link>https://dev.to/abdurrahman200</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%2F626530%2F51883f53-d551-4d08-8147-5cde2a174b5d.jpg</url>
      <title>DEV Community: Abdur Rahman</title>
      <link>https://dev.to/abdurrahman200</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abdurrahman200"/>
    <language>en</language>
    <item>
      <title>Javascript important things all developer should learn</title>
      <dc:creator>Abdur Rahman</dc:creator>
      <pubDate>Thu, 06 May 2021 12:11:09 +0000</pubDate>
      <link>https://dev.to/abdurrahman200/javascript-important-things-all-developer-should-learn-4475</link>
      <guid>https://dev.to/abdurrahman200/javascript-important-things-all-developer-should-learn-4475</guid>
      <description>&lt;p&gt;6  primitive data types in javascript&lt;/p&gt;

&lt;p&gt;Undefined&lt;br&gt;
Null&lt;br&gt;
Number&lt;br&gt;
String&lt;br&gt;
Boolean&lt;br&gt;
Symbol&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Undefined&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A variable that has not assigned a value. And hold the value undefined. It is just like null.&lt;br&gt;
var akaid; &lt;br&gt;
console.log(akaid);&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Null&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A variable has defined with null value. It is like as undefined. It's store nothing.&lt;br&gt;
var abdurrahmanakaid= null; &lt;br&gt;
var akaid;&lt;br&gt;
console.log(abdurrahmanakaid== city); &lt;br&gt;
console.log(abdurrahmanakaid=== city);&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Number&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There is only one number type. There is no specific type for integers. The number can be written with or without a decimal point. It is able to represent floating-point numbers, the number type has three symbolic values: +Infinity, -Infinity, and NaN (not-a-number).&lt;br&gt;
var num1 = 10;&lt;br&gt;
var num2 = 15.5;&lt;br&gt;
var num3 = 20 / +0;&lt;br&gt;
console.log(num3);&lt;br&gt;
var num4 = 20 / -0;&lt;br&gt;
console.log(num4);&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;String&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A string in JavaScript is a sequence of characters. In JavaScript, strings can be created directly by placing the series of characters between double (") or single (') quotes.&lt;br&gt;
var str1 = "Hello, World!";&lt;br&gt;
var str2 = 'Hi, Welcome to JavaScript Tutorial';&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Boolean&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It is logical a entity. A variable can have two values true or false.&lt;br&gt;
var isActive = true;&lt;br&gt;
var isDisabled = false;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Symbol&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;New in ECMAScript6. A Symbol is a unique and immutable identifier.&lt;br&gt;
var x = Symbol();&lt;br&gt;
var y = Symbol(10);&lt;br&gt;
var z = Symbol('Hello');&lt;br&gt;
console.log(x); &lt;br&gt;
console.log(y);&lt;br&gt;
console.log(z);&lt;/p&gt;

&lt;p&gt;javascript Expression&lt;br&gt;
An expression is any valid set of literals, variables, operators, and expressions that evaluates to a single value. The value may be a number, a string, or a logical value. Conceptually, there are two types of expressions: those that assign a value to a variable, and those that simply have a value&lt;br&gt;
javascript error handling&lt;br&gt;
two main types of error in javascript&lt;br&gt;
When it comes to error handling in JavaScript there are two types of errors you can stumble upon. The first type of error is syntax errors. The second type are runtime errors&lt;br&gt;
1 .Syntax errors&lt;br&gt;
syntax errors are also called parsing errors. This is an error that occurs when the JavaScript parser interprets your code. When one of these errors occurs it only affects the code in the same thread.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Runtime errors
The second type of error is runtime errors. These errors are also called exceptions. These errors occur during the execution of your code when you run it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;JavaScript try and catch&lt;br&gt;
Error handling and try…catch statement&lt;br&gt;
The first tool for error handling is a try...catch statement. there is no parenthesis before the first block, the try block. This try block contains the code you want to try to run.&lt;br&gt;
try {&lt;br&gt;
  // some code&lt;br&gt;
}&lt;br&gt;
// Declare function outside try block&lt;br&gt;
function myFunction() {&lt;br&gt;
  // do something&lt;br&gt;
}&lt;br&gt;
// Create try block&lt;br&gt;
try {&lt;br&gt;
  // And invoke the function inside it&lt;br&gt;
  myFunction()&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Catch&lt;br&gt;
When you do this, try the block will call that function. If your function runs without any errors nothing will happen. If there are some runtime errors? This is where catch block comes into play. The catch block looks similar to try&lt;br&gt;
try {&lt;br&gt;
  // Run some code&lt;br&gt;
}&lt;br&gt;
catch(error) { // error is the error object, you can use a different name&lt;br&gt;
}&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>career</category>
      <category>devops</category>
      <category>react</category>
    </item>
  </channel>
</rss>
