JavaScript has a really crappy algorithm for pushing Strings together so, where possible, you should use the inbuilt array join() method var __string = [“string1”,“string2”,“string3”,].join();
instead of var __string = “string1” + “string2” + “string3”
Trainee designer, Accessibility advocate, Front end coder. As part of my design course I will be blogging about things of interest I discover along the way.