MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / fillArray

Function fillArray

lib/web/CodeMirror/test/vim_test.js:1083–1089  ·  view source on GitHub ↗
(val, times)

Source from the content-addressed store, hash-verified

1081 eq(expectedLineCount, cm.lineCount());
1082});
1083function fillArray(val, times) {
1084 var arr = [];
1085 for (var i = 0; i < times; i++) {
1086 arr.push(val);
1087 }
1088 return arr;
1089}
1090testVim('c_visual_block', function(cm, vim, helpers) {
1091 cm.setCursor(0, 1);
1092 helpers.doKeys('<C-v>', '2', 'j', 'l', 'l', 'l', 'c');

Callers 1

doKeysFnFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected