Pratham interview question

make a tick-tack-toe game in js.