r/JavaScriptTips • • Apr 17 '23

Help

Post image

I’m working on a sample problem for ATA and I keep getting an “illegal parenthesized expression” error. Can someone tell me what I’m doing wrong and how can I fix it?

0 Upvotes

9 comments sorted by

View all comments

6

u/Safe-Engineering69 Apr 17 '23

This is Java code, not JavaScript?