AssembleScript is a programming language designed for avengers to write powerful scripts and fight against evil forces. This repository contains it's source code and documentation.
To introduce use of template literals in vision statement to make vision more userful.
Proposed Solution
Now in vision() in AssembleScript we can only use double quotes.
vision("Avengers Assemble!!!!!!!!!!");
After using template literals we can use template literal in vision as follows.
vision(`Avengers Assemble!!!`);
Benefits
Main benefit of using a template literal is that you can use value of variables using $ in general Javascript
Possible Implementation
Possible implementation are'Avengers Assemble ${var1}' but one issue here is, that we use $ for comment in template literalls. So we can use @ or any other symbols..
Use Case
To introduce use of template literals in vision statement to make vision more userful.
Proposed Solution
Now in vision() in AssembleScript we can only use double quotes.
After using template literals we can use template literal in vision as follows.
Benefits
Main benefit of using a template literal is that you can use value of variables using $ in general Javascript
Possible Implementation
Possible implementation are'
Avengers Assemble ${var1}
' but one issue here is, that we use $ for comment in template literalls. So we can use @ or any other symbols..