method to get two lines of a string js code example Example: javascript multiline string const multilineString = `This is a multiline string in javascript`;