MCPcopy Create free account
hub / github.com/codemistic/Web-Development / myfunc_4

Function myfunc_4

Tic Tac Toe/tic.js:273–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271}
272
273function myfunc_4() {
274 if (flag == 1) {
275 document.getElementById("b2").value = "X";
276 document.getElementById("b2").disabled = true;
277 flag = 0;
278 }
279 else {
280 document.getElementById("b2").value = "0";
281 document.getElementById("b2").disabled = true;
282 flag = 1;
283 }
284}
285
286function myfunc_5() {
287 if (flag == 1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected