includes in a string code example Example: .includes( string var str = "Hello world, welcome to the universe."; var n = str.includes("world");