Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. In terms of syntax, template expressions are similar to JavaScript. Many JavaScript expressions are legal template expressions, with a few exceptions.
  2.  
  3. You can't use JavaScript expressions that have or promote side effects, including:
  4.  
  5. Assignments (=, +=, -=, ...)
  6. Operators such as new, typeof, instanceof, etc.
  7. Chaining expressions with ; or ,
  8. The increment and decrement operators ++ and --
  9. Some of the ES2015+ operators
  10. Other notable differences from JavaScript syntax include:
  11.  
  12. No support for the bitwise operators such as | and &
  13. New template expression operators, such as |, ?. and !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement