Introduce eval in JavaScript, talk about why not to use it, and finally look at its application and alternatives through the interview questions of reading `<script />` and getting JS calculation results when crawling with App Script.
#JavaScript
· 11 min #JavaScript#Security#Eval
Deal with the JS asychronous from sequential fade-in animation. Step by step refactor the code from Callback, Promise to Async/Await, providing cleaner and more maintainable code.
· 1 min #Frontend#JavaScript#Async/Await
Choosing a frontend framework has always been a big question for many beginners (including me). I started writing React because my company was using it. Recently, due to some circumstances, I started touching Angular, which inspired me to think more about "Frontend Frameworks". Issues like what "framework" actually refers to? What can be called a "framework"? Why does frontend need to use it? What happens if you don't use it? I heard Vue3 is powerful, should I learn it? And so on.
· 8 min #Frontend#Framework#JavaScript