Fix ReferenceError: can't access let declaration `splitter' before initialization