The code you posted should just be a syntax error.
But if you remove the comma that separates the object properties it becomes a ternary that evaluates the string 'How it works' which is a truthy value so the “key” of what should have been the next object property becomes the evaluated value of the expression.