index.js
function chunk(start, end) {
                // Slice, unescape and push onto result array.
                res.push(str.slice(start, end).replace(/\\\\/g, '\\').replace(/\\\./g, '.'));
                // Set starting position of next chunk.
                pos = end + 1;
            }
function chunk(start, end) {
                // Slice, unescape and push onto result array.
                res.push(str.slice(start, end).replace(/\\\\/g, '\\').replace(/\\\./g, '.'));
                // Set starting position of next chunk.
                pos = end + 1;
            }
function chunk ( start , end ) { // Slice, unescape and push onto result array. res . push ( str . slice ( start , end ) . replace ( / \\\\ / g , '\\' ) . replace ( / \\\. / g , '.' ) ) ; // Set starting position of next chunk. pos = end + 1 ; }
Starting position of current chunk
Starting position of current chunk