TheRandomCrew / TicTacToe-JS

A Tic Tac Toe game you can play in your browser!
https://raw.githack.com/Israel-Laguan/TicTacToe-JS/24623a2bc3f0764698f32103f8b48074abf91278/index.html
Apache License 2.0
1 stars 3 forks source link

Clarificar la ultima parte de la linea #12

Open Israel-Laguan opened 4 years ago

Israel-Laguan commented 4 years ago

Problema

En esta linea no entiendo la logica:

https://github.com/Israel-Laguan/TicTacToe-JS/blob/9e364a84be1f8036185a08785785756461e73c20/src/js/main.js#L9

Esta parte (% 2 ? 0 : 10, i - 1) no la comprendo, que es eso de simbolo porcentaje?