Can I learn and understand Angular2 without understanding JavaScript?
没有JavaScript基础我能学习和理解Angular2吗?
翻译来源:https://www.quora.com/Can-I-learn-and-understand-Angular2-without-understanding-JavaScript
本文地址:http://blog.csdn.net/sushengmiyan/article/details/52582491
本文作者:苏生米沿
来自Andru Vallance的回答:
不可以,使用Angular2将会需求使用Javascript或者一个任何它的超集。
Theoretically you may get by without a solid understanding of the language as a whole, or of features of it you don’t come across in Angular2 documentation and examples.
理论上来讲,你或许可以没有整体的对语言或者它的特性有一个了解也过得去,你不能通篇的理解Angular2文档和示例。
However, such an approach would be foolhardy; askin to writing a book in an unknown language while denying yourself to any language learning tools other than a single book written in that language.
来自Aniketh Mallabadi的回答:
你不能彻底的理解angular2,你不知道javascript也至少应该知道Typescript,但是对于Typescript来说,你也需要知道点基础的JS知识。建议你从JS开始,它是web开发的基础。在线资源很多,你花费一周的时候学习JS足够了。
By learning JS you can understand many more frameworks rather than angular alone.
通过学习JS你可以理解框架而非仅仅是angular.
Checkout Udemy classes JavaScript: Understanding the Weird Parts - Udemy just 11 hours class which makes you master in JS then understanding Angular 2 would be easier. For Typescript tutorial check Quick start · TypeScript .
来自Vani Ananthuni的回答:
Nope! You need to know Javascript/Typescript.
不!你必须要知道javascript/typescript才可以学习abgularjs2;
Typescript is used for Angular 2(Dart , Es5 or Es6 also can be used) And typescript is superset of JavaScript. Once you know JavaScript and understand OOPs, you can learn typescript easily.You also need to know scope of variables etc. If not typescript, at least JS will help you in the beginning. Although, there are some serious issues with using JS in Angular2.