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