Message from JavaScript discussions

October 2017

— If JS says it's not a function, it's not a function


console.log(typeof socketList[key].snake.move);

— Console.log(typeof socketList[key].snake.move); // undefined
console.log(socketList[key].snake.move); // undefined

Message permanent page

— Https://

— Yeah, seems like they're not inheriting properly

— Does the prototype get overriden / do you assign to snake.move?

— No

— Oh god wha

— Uhm, you can't pass snakes through sockets like that

— doesn't work with anything other than JSON objects

— Aka no instances, functions, etc

— Uhm