Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what is syntactic sugar javascript

Syntactic sugar means that the new features of the language
are not really new. Instead, they are a nicer syntax for something existing.
You could do exactly the same by writing something different in the old version.
Due to that, there are transpilers like Babel which can convert 
the new syntax to the old one.
 
PREVIOUS NEXT
Tagged: #syntactic #sugar #javascript
ADD COMMENT
Topic
Name
2+4 =