上一页 1 ··· 407 408 409 410 411 412 413 414 415 ··· 492 下一页
摘要: delete keyword doesn't actually delete the value but just the reference. So here, what actually delete is the point of me.name: So the point from 'anm 阅读全文
posted @ 2016-06-14 20:17 Zhentiw 阅读(187) 评论(0) 推荐(0)
摘要: In this lesson, you will learn the difference between the exports statement and module.exports. Two examples are demonstrated, each accomplishing the 阅读全文
posted @ 2016-06-14 03:43 Zhentiw 阅读(163) 评论(0) 推荐(0)
摘要: First, what is 'High Order function', basic just a function, inside the function return another fuction. For example: Decorators is a subset of high o 阅读全文
posted @ 2016-06-14 03:10 Zhentiw 阅读(387) 评论(0) 推荐(0)
摘要: TypeScript allows you to generate definition files for your own libraries. This lesson shows you how to organize your project and generate the definit 阅读全文
posted @ 2016-06-14 02:06 Zhentiw 阅读(272) 评论(0) 推荐(0)
摘要: When multiple decorators apply to a single declaration, their evaluation is similar to function composition in mathematics. In this model, when compos 阅读全文
posted @ 2016-06-13 21:24 Zhentiw 阅读(202) 评论(0) 推荐(0)
摘要: new.target is a new “magical” value available in all functions, thoughin normal functions it will always be undefined. In any constructor,new.target a 阅读全文
posted @ 2016-06-13 20:50 Zhentiw 阅读(124) 评论(0) 推荐(0)
摘要: Each function should have a 'name' property. It can be anonymous, empty, the same as function name, or class name. For example: 阅读全文
posted @ 2016-06-13 17:24 Zhentiw 阅读(137) 评论(0) 推荐(0)
摘要: Original artial --> link How descorator looks like: Descorator in action: We have a class, which have an method call meow(): When Javascritp Engine re 阅读全文
posted @ 2016-06-13 04:32 Zhentiw 阅读(369) 评论(0) 推荐(0)
摘要: Orgial aritial --> Link The problem with Angular 1 DI: Angular 2 DI: Solve the singletons problem: The service you inject to the parent component can 阅读全文
posted @ 2016-06-12 03:45 Zhentiw 阅读(252) 评论(0) 推荐(0)
摘要: Oingial aritial --> Link Take away: When you use `templateUrl` & `styleUrls`, the path are relative to the application root. So if you compoennt is pu 阅读全文
posted @ 2016-06-11 22:32 Zhentiw 阅读(314) 评论(0) 推荐(0)
上一页 1 ··· 407 408 409 410 411 412 413 414 415 ··· 492 下一页