Recently i go through this post and found it explaining mostly all types of syntax errors(Except function syntax error).
So when we come across posts like this question and other errors covered in the first link , can we mark it as duplicate of first link ?