simple way to multiply string js code example Example: js multiply string let myString = 'test'; myString.repeat(3); // 'testtesttest'