Packt
JavaScript Prototypes 2025 – The Complete Course
Packt

JavaScript Prototypes 2025 – The Complete Course

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Understand the prototype chain and how inheritance works in JavaScript

  • Build multi-level custom inheritance structures using functions and classes

  • Compare and choose between prototypes and composition in real-world scenarios

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2025

作业

10 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有9个模块

In this module, we will establish a foundational understanding of JavaScript prototypes and how they shape the object-oriented paradigm in the language. You’ll explore the internal [[Prototype]] mechanics, examine the special behavior of functions, and see objects as the central actors in JavaScript. To bring theory into practice, we’ll wrap up with a project that connects all the key ideas.

涵盖的内容

6个视频1篇阅读材料1个作业

In this module, we will dive deep into the [[Prototype]] object and its hidden yet powerful role in JavaScript inheritance. You’ll uncover how prototype chains are formed, how properties and methods are inherited, and what happens behind the scenes with primitives and constructors. With real examples and important warnings, this section prepares you to handle prototypes with both confidence and caution.

涵盖的内容

24个视频1个作业1个插件

In this module, we will explore the full spectrum of JavaScript instantiation patterns, from object literals to ES6 classes. You’ll learn how functional, prototypal, pseudoclassical, and class-based approaches differ, when to use each, and how to implement them effectively. This section equips you with practical knowledge and hands-on examples to help you choose the best pattern for your development needs.

涵盖的内容

15个视频1个作业1个插件

In this module, we will take a focused look at __proto__, JavaScript's once-popular but now partly deprecated way of managing prototypes. You'll learn where it fits in the prototype chain, why it’s no longer recommended, and how to safely use modern alternatives. We'll also highlight common issues tied to __proto__ and how to avoid them in clean, future-proof code.

涵盖的内容

9个视频1个作业1个插件

In this module, we will demystify the .prototype property and its critical function in JavaScript's inheritance system. You’ll learn how it links constructor functions to their instances, understand its relationship to [[Prototype]], and explore key concepts like the constructor property and prototype chaining. By the end, you’ll have a clear mental model of how .prototype shapes object behavior across your code.

涵盖的内容

17个视频1个作业1个插件

In this module, we will bring theory into action by building real prototype chains using multiple approaches—from classic constructor functions to modern ES6 classes. You'll create 3-level inheritance structures, tackle issues like constructor misreferences and code duplication, and explore the evolution of JavaScript inheritance techniques. This hands-on section ensures you're ready to apply prototype knowledge in real development projects.

涵盖的内容

15个视频1个作业1个插件

In this module, we will explore how inheritance is implemented differently across prototypal and class-based object-oriented languages. Through hands-on comparisons—including a "Hello World" example and Java code analysis—you'll gain clarity on how JavaScript’s prototypes diverge from traditional class structures. By the end, you'll confidently differentiate between these paradigms and understand their respective strengths.

涵盖的内容

7个视频1个作业1个插件

In this module, we will explore composition as a powerful alternative to prototypes in JavaScript. You'll learn how to shift from inheritance-based design to composition-based architecture, gaining flexibility and modularity. By the end, you’ll be equipped to choose the right approach—composition or prototypes—based on your project’s specific needs.

涵盖的内容

3个视频1个作业1个插件

In this module, we will wrap up the course with a concise review of everything you've learned about JavaScript prototypes. From fundamental concepts to hands-on implementation, you’ll reflect on your progress and solidify your understanding. This final section sets the stage for confidently applying prototype-based thinking in your own projects.

涵盖的内容

1个视频2个作业

位教师

Packt - Course Instructors
Packt
971 门课程232,654 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题