How do I fix this 'Uncaught SyntaxError: Unexpected identifier'

var canvasInfo;
var story;
var optionA;
var optionB;
var optionC;

function Init()
{

canvasInfo = GameEngine.GetCanvasInfo();

story = Your family has just moved, and you can not remember the way home from school. Reaching an intersection, you turn;
optionA = Left;
optionB = Right;
optionC = Straight;

}

My chrome ‘Inspect Element’ is picking up an ‘Unexpected identifier’. Please help!

119 thoughts on “How do I fix this 'Uncaught SyntaxError: Unexpected identifier'”

Leave a Comment