MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / reverse

Function reverse

static/js/codemirror/keymap/vim.js:1479–1481  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1477 return cm.getLine(lineNum).length;
1478 }
1479 function reverse(s){
1480 return s.split("").reverse().join("");
1481 }
1482 function trim(s) {
1483 if (s.trim) {
1484 return s.trim();

Callers 1

expandWordUnderCursorFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected