Some less-used javaScript methods

  1. The first method is a string method. Which is includes() method. With this method, you can search a string whether it included in a string or not. If it is, it will return true else false. Here is an example below, hope this will help you to understand the method.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Roadmap Update ❤

use Mobx with Universal Router with functional React components

Why is React so popular?

Exposing HomeObject

Introduction to JSON

Merge Two Sorted Linked Lists in JavaScript

Plug-in basic tutorial

Infinity in Javascript explained

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


More from Medium

How to Add Search Recommendations in JavaScript

ReactJS vs Angular: which is better for your website?

EcmaScript vs JavaScript