You were using incorrect syntax here. Arrow functions need to have "=>" arrow hence their name. You have some more syntax errors in your code. Consider using some IDE or other way of automated syntax checking.