create new string javascript code example Example: how to make a string in javascript //In Javascript, a string can be declared using "" or ''.