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