1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Tests space.search const Space = require('../space') let text = new Space(); text.adhoc('\ \n\ jarvis\n\ jarvis\n\ jarvis \ '); let line = new Space(); line.adhoc('jarvis'); console.log(text.search(line))