- 7

ELSE SUCKS

I can't use else without it being an 'unexpected token'. Please help!

14th Nov 2017, 12:13 AM
The A.I. Future Guy
The A.I. Future Guy - avatar
9 Answers
+ 9
change line 2 to return confirm("Save changes?"); delete line 4 change line 5 to if(write()){
14th Nov 2017, 1:32 AM
John Wells
John Wells - avatar
+ 6
Odds are you forgot the ; on the true statement.
14th Nov 2017, 12:21 AM
John Wells
John Wells - avatar
+ 4
John Wells thnx!
14th Nov 2017, 1:41 AM
The A.I. Future Guy
The A.I. Future Guy - avatar
+ 4
Please change the title
14th Nov 2017, 3:22 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
give me the code
14th Nov 2017, 12:14 AM
Joshua
Joshua - avatar
+ 2
When u go to my page, it's "Draft".
14th Nov 2017, 1:13 AM
The A.I. Future Guy
The A.I. Future Guy - avatar
+ 2
check again
14th Nov 2017, 1:27 AM
The A.I. Future Guy
The A.I. Future Guy - avatar