You could actually just do `var indentation = (new Array(indentUnit + 1)).join(" ")` to get the `indentUnit` spaces.