0

My string must have 2 characters and the characters there are not filled must be left as blank spaces

let string = "  ";
string.unknownMethod("a");

What do I need to put into the unknownMethod function to get this output: " a"

I tried using the concat method but it concatenates to the end of the string

codemonkey
  • 6,414
  • 4
  • 20
  • 33

0 Answers0