Today we are going to discuss10 most important things about javascript string.

We have to use the string in everyday coding. Let’s take a look what we are going to discuss:

  1. charAt()
  2. concat()
  3. indexOf()
  4. replace()
  5. slice()
  6. split()
  7. substr()
  8. trim()
  9. toUpperCase()
  10. toLowerCase()

Let’s go…

  1. charAt()

Imagine you are coding now and you are working with string. Suddenly you need to know what is the character at index 6. It’s very easy to find what is at index 6 with charAt(). Suppose your string is- “Today I got a job interview.” You have to find what is at index 6. …

Take a look at what I am going to discuss in this blog.

  1. Truthy and Falsy value
  2. null vs undefined
  3. Double equal (==) and Triple equal (===)
  4. Scope
  5. Arrow function
  6. Closure
  7. this Keyword
  8. Bind
  9. Call
  10. Apply

Let’s get start.

Truthy and Falsy Value

Sometimes when we need to check something is true or false. If we found true from that space that is truthy value and if we get false that is falsy value. First, we will see how can we get falsy value. We will check it in a if condition.

Here 0 is a falsy value. But all other numbers are…

As a beginner, we have some common questions and sometimes we need to know some basic concepts. In today’s writing, I am going to discuss this type of concept. Let’s get start.

React is framework or library?

This is a very common question. First, I will try to give you some concepts about framework and library. Basically, framework means a bigger thing and library means a tiny thing. Framework has own strict rule and regulation but library has no strict rule. That means you can do with your own style in library. Actually from my perspective, framework comes with many tiny library. Hope you got…

When you start to learn javascript, one term will come in front of you. It’s the data type. Without learning this you can move forward. Because it’s a fundamental thing.

Here we discuss data types. So, what is data type?

Well. Actually, type is an attribute of data that tells the compiler or interpreter for what purpose you are using data.

The latest ECMAScript defines nine types of data. Let’s learn one by one.

First, we will know about the primitive data types. Take a look at primitive data type.

  1. Undefined
  2. Null
  3. Boolean
  4. Number
  5. String
  6. Symbol
  7. BigInts

Let’s figure out…

Asif Jalil

Web Designer at VoicePro LLC

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store