v1
- by pushkine 10/1/202100
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const str = `export function initParser(
  inputCode: string,
  isJSXEnabledArg: boolean,
  isTypeScriptEnabledArg: boolean,
  isFlowEnabledArg: boolean,
): void {
  input = inputCode;
  state = new State();
  nextContextId = 1;
  isJSXEnabled = isJSXEnabledArg;
  isTypeScriptEnabled = isTypeScriptEnabledArg;
  isFlowEnabled = isFlowEnabledArg;
}`;
var v = 0;
delete caserun single casemove downdrag and drop case


ready



for(let i = 0; i < str.length; i++) {
	v += str.charCodeAt(i);
}
v &= 0;
delete caserun single casemove updrag and drop case


ready



const length = [...str].length;
for(let i = 0; i < length; i++) {
	v += str.codePointAt(i);
}
v &= 0;
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN