JavaScript: Understanding the Weird Parts
4.7 (19,137 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
87,143 students enrolled
Wishlisted Wishlist

Please confirm that you want to add JavaScript: Understanding the Weird Parts to your Wishlist.

Add to Wishlist

JavaScript: Understanding the Weird Parts

An advanced JavaScript course for everyone! Scope, closures, prototypes, 'this', build your own framework, and more.
4.7 (19,137 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
87,143 students enrolled
Created by Anthony Alicea
Last updated 8/2015
Current price: $10 Original price: $175 Discount: 94% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 11.5 hours on-demand video
  • 7 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Grasp how Javascript works and it's fundamental concepts
  • Write solid, good Javascript code
  • Understand advanced concepts such as closures, prototypal inheritance, IIFEs, and much more.
  • Drastically improve your ability to debug problems in Javascript.
  • Avoid common pitfalls and mistakes other Javascript coders make
  • Understand the source code of popular Javascript frameworks
  • Build your own Javascript framework or library
View Curriculum
  • Basic Javascript knowledge (variables, loops, and basic functions - that's all the course expects you to know!)
  • A browser and text editor

Javascript is the language that modern developers need to know, and know well. Truly knowing Javascript will get you a job, and enable you to build quality web and server applications.

NOTE: This course includes information on ECMAScript 6 (ES6) the next version of Javascript!

In this course you will gain a deep understanding of Javascript, learn how Javascript works under the hood, and how that knowledge helps you avoid common pitfalls and drastically improve your ability to debug problems. You will find clarity in the parts that others, even experienced coders, may find weird, odd, and at times incomprehensible. You'll learn the beauty and deceptive power of this language that is at the forefront of modern software development today.

This course will cover such advanced concepts as objects and object literals, function expressions, prototypical inheritance, functional programming, scope chains, function constructors (plus new ES6 features), immediately invoked function expressions (IIFEs), call, apply, bind, and more.

We'll take a deep dive into the source code of popular frameworks such as jQuery and Underscore to see how you can use your understanding of Javascript to learn (and borrow) from other's good code.

Finally, you'll learn the foundations of how to build your own Javascript framework or library.

What you'll learn in this course will make you a better Javascript developer, and improve your abilities in AngularJS, NodeJS, jQuery, React, Ember, MongoDB, and all other Javascript-based technologies!

Learn to love Javascript, and code in it well.

Note: In this course you'll also get downloadable source code. You will often be provided with 'starter' code, giving you the base for you to start writing your code, and 'finished' code to compare your code to.

Who is the target audience?
  • Those with basic Javascript skills who wish to improve
  • Experienced coders coming from other programming languages
  • New and experienced Javascript coders who want to deepen their understanding of the language
  • Anyone who has found concepts just as object prototypes, closures, and other advanced concepts difficult to learn
  • Those who have suffered surprising errors while writing Javascript, and want to learn why and how to avoid them
  • Those interested in building their own frameworks, or being better able to learn from the source code of other well-known frameworks and libraries
Students Who Viewed This Course Also Viewed
Curriculum For This Course
85 Lectures
Getting Started
5 Lectures 14:57


Big Words and Javascript

Watching this Course in High Definition

Objects and Functions
23 Lectures 04:28:13
Objects and the Dot

Objects and Object Literals

Framework Aside: Faking Namespaces

JSON and Object Literals

Functions are Objects

Function Statements and Function Expressions

Conceptual Aside: By Value vs By Reference

Objects, Functions, and 'this'

Conceptual Aside: Arrays - Collections of Anything

'arguments' and spread

Framework Aside: Function Overloading

Conceptual Aside: Syntax Parsers

Dangerous Aside: Automatic Semicolon Insertion

Framework Aside: Whitespace

Immediately Invoked Functions Expressions (IIFEs)

Framework Aside: IIFEs and Safe Code

Understanding Closures

Understanding Closures - Part 2

Framework Aside: Function Factories

Closures and Callbacks

call(), apply(), and bind()

Functional Programming

Functional Programming - Part 2
Object-Oriented Javascript and Prototypal Inheritance
4 Lectures 39:58
Conceptual Aside: Classical vs Prototypal Inheritance

Understanding the Prototype

Everything is an Object (or a primitive)

Reflection and Extend
Building Objects
8 Lectures 01:07:22
Function Constructors, 'new', and the History of Javascript

Function Constructors and '.prototype'

Dangerous Aside: 'new' and functions

Conceptual Aside: Built-In Function Constructors

Dangerous Aside: Built-In Function Constructors

Dangerous Aside: Arrays and

Object.create and Pure Prototypal Inheritance

ES6 and Classes
Odds and Ends
4 Lectures 18:19

'typeof' , 'instanceof', and Figuring Out What Something Is

Strict Mode

Strict Mode Reference
Examining Famous Frameworks and Libraries
4 Lectures 52:22
Learning From Other's Good Code

Deep Dive into Source Code: jQuery - Part 1

Deep Dive into Source Code: jQuery - Part 2

Deep Dive into Source Code: jQuery - Part 3
Let's Build a Framework / Library!
8 Lectures 48:45

Structuring Safe Code

Our Object and Its Prototype

Properties and Chainable Methods

Adding jQuery Support

Good Commenting

Let's Use Our Framework

A Side Note
BONUS Lectures
2 Lectures 04:48
TypeScript, ES6, and Transpiled Languages

Transpiled Languages References
2 More Sections
About the Instructor
Anthony Alicea
4.7 Average rating
45,312 Reviews
154,557 Students
7 Courses
Software Developer, Architect, and UX Designer

Newly married in Cleveland Ohio, Tony is primarily focused these days on trying to be a good husband. While inexperienced at that, he's quite experienced in all things web.

Tony has been programming since he was 12 years old, and got into web sites and web application development at 16. After graduating with a Computer Science degree from Case Western Reserve University, Tony continued with that interest as a Microsoft certified software application developer and architect, database designer, and user interface designer.

His experience has ranged across technologies such as HTML5, CSS3, ASP .NET MVC, JavaScript, jQuery, KnockoutJS, AngularJS, NodeJS, LESS, Bootstrap, SQL, Entity Framework and more.

He believes strongly that deeply understanding any topic allows you to properly learn it and, even more importantly in a real-world environment, quickly overcome problems.

He also has a deep interest in human nature and behavior, and how that impacts human-computer interaction. This interest translated into extending his career into user experience design and usability research.

Another link in the chain is his 25 years of experience in public speaking and teaching, both in front of large groups and as a one-on-one private instructor.

Putting all these pieces together, he has spent his career listening to a client need, designing a database and software to meet that need, building it, testing it, teaching others how to use it, then improving user experience by watching people actually use it and adjusting accordingly.

Tony loves teaching every aspect of what he does, and even more loves teaching in a way that imparts understanding, as opposed to just examples intended to be parroted. He loves that moment when a student 'gets it', and that's what he wants for you when you take one of his courses.

He has found that those that learn purely by example, and not by understanding, end up much more limited than they need to be.

"Examples need to be built on top of context, and once you have context, you can not only copy the examples you find, but adjust and improve upon them."

He firmly believes that everyone has the ability to develop software, if they are just taught properly. Including you.

"It is my pleasure and privilege to teach you. I hope you'll come away knowing something you didn't before, understanding at a level deeper than before, and feeling positive that you can accomplish what you've set out to accomplish. Thank you!" - Tony Alicea

Ask Tony a question, read a post, or follow him around internet.