MCPcopy Create free account
hub / github.com/breck7/scroll / spaceStr

Function spaceStr

external/.scrollLibs.js:746–751  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

744
745 var spaceStrs = [""]
746 function spaceStr(n) {
747 while (spaceStrs.length <= n) {
748 spaceStrs.push(lst(spaceStrs) + " ")
749 }
750 return spaceStrs[n]
751 }
752
753 function lst(arr) {
754 return arr[arr.length - 1]

Callers 3

buildTokenFunction · 0.85
.scrollLibs.jsFile · 0.85
indentLineFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected