alert("Hello WOrld!"); and he instead goes
alert(<<Hello World!>>); .
It is the first time I see angled brackets used instead of quotes,I am a bit confused, so I looked at Crockford's conventions but actually he doesn't say anything about that.
What do you guys think? Is it ok to use <<>> and "" interchangeably?
Jump to Post
What book is this out of? You can not use angle brackets in place of quotes.
<html> <head> <title> </title> <script> alert(<<Quote>>); </script> <body> </body> </html>
Then switch the angle brackets to quotes, and see what happens. I have always used the single quotes …
All 6 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.