Pregunta de entrevista de Pinewood Technologies

Create an AI for Tic-Tac-Toe using JavaScript.