| using instanceof in javascript [message #545369] |
Wed, 07 July 2010 10:27  |
Zohar Amir Messages: 419 Registered: July 2009 |
Senior Member |
|
|
Hello,
I started using eclipse to develop with javascript (actually it's JSFL, but it's close enough). I used exceptions in my code and eclipse flagged my syntax as wrong:
try {
// code here
} catch (e if e instanceof MyException) {
// handle exception
}
I found this syntax in Mozilla's site
What's wrong?
Thanks,
Zohar.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01675 seconds