docs: function checkCRLF() {
  				/*function check if the current character is NEWLINE or RETURN
  				if RETURN it checks if the next is NEWLINE (CRLF)
  				afterwards it sets the charIndex after the NEWLINE, RETURN OR CRLF and currentCharacter to the character at index charIndex*/
  				//check if current character at charIndex is NEWLINE (set eol)
  				//adds 1 to charIndex
  				if ((currentCharacter = text.charCodeAt(charIndex++)) === NEWLINE)
  					eol = true;
  				//checks if equal to RETURN
  				else if (currentCharacter === RETURN) {
  					eol = true;
  					//checks next character equal to NEWLINE and adds 1 to charindex (total =2)
  					if (text.charCodeAt(charIndex) === NEWLINE)
  						++charIndex;
  				}
  				return eol;
  			}