How to check if string includes another string in JavaScript

Strings
Last updated Dec 16, 2017
const text = "Code to go has awesome use cases!";

text.includes("Code to go");
true