Indent a JavaScript string - 30 seconds of code

Indent a JavaScript string - 30 seconds of code

More to explore

Based on this image's title: “Indent a JavaScript string - 30 seconds of code