FSD-Theory Assingment 2:Advanced ES6 features in JavaScript and Typescript
Assignment -2 Advanced ES6 features in JavaScript and Typescript Q. 1 Answer the following. 1. What are template literals? 2. What is the purpose of the spread syntax in JavaScript? 3. What are arrow functions in ES6? 4. What are Symbols in JavaScript? 5. L ist three advantages of using Typescript over plain JavaScript. 6. What are decorators in TypeScript? 7. What are 'let' and 'const' in ES6? Q.2 Answer the following. 1. Explain the difference between let and const in JavaScript. 2. What are arrow functions in ES6, and how do t...