const originalstring = 'hello world';  const targetlength = 15;  const padstring = '12';  const padded = originalstring.padend(targetlength,  padstring);  console.log(padded); // output: "hello world1212"
Israel