v1
- by titouanmathis 12/1/202300
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
function startsWith(str, search) {
  if (search.length === 0) {
    return true;
  }

  if (search.length === 1) {
    return str[0] === search;
  }

  return str.substring(0, search.length) === search;
} 

function noop() {}

delete caserun single casemove downdrag and drop case


ready



if ('foo'.startsWith('fo')) noop;
delete caserun single casemove updrag and drop case


ready



if (startsWith('foo', 'fo')) noop;
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