search

Next Section: 对象字面量的私有属性与特权方法1117 plays

5 秒后自动播放下一节
  Watch Again

JavaScript objects and common design patterns

Introduction >
ChapterCourseware
Chapter1JavaScript literals and constructors

Do you really understand object literals (1)

18 minutes44 seconds

Do you really understand object literals (2)

11 minutes58 seconds

Return values ​​of constructors and prototypes (1)

18 minutes11 seconds

Return values ​​of constructors and prototypes (2)

14 minutes10 seconds

How to force the use of "new" to call the constructor

21 minutes48 seconds

self-calling constructor

15 minutes07 seconds

Let’s talk about array literals and pitfalls encountered

14 minutes20 seconds

Detailed analysis and serialization of JSON literals

26 minutes29 seconds

Knowledge of regular expression literals

14 minutes43 seconds

How to use basic type packaging objects

22 minutes57 seconds
Chapter2JavaScript object classic creation mode

namespace pattern

13 minutes15 seconds

Generic namespace functions

19 minutes52 seconds

Private properties and privileged methods of constructors

15 minutes39 seconds

Private properties and privileged methods of object literals

13 minutes57 seconds

Private members on prototype objects

16 minutes02 seconds

How to expose a private method for public use

15 minutes26 seconds

How to implement public static members

09 minutes28 seconds

How to implement private static members

18 minutes44 seconds

How to implement object-based chain calls

13 minutes05 seconds

Use "method syntactic sugar" to simplify chain calls

13 minutes53 seconds
  • CancelreplySending
  • Cancelpost a noteSending