JavaScript: The Tricky Bits
Offered By: LinkedIn Learning
Course Description
Overview
Discover JavaScript techniques that make a huge difference in your work but are not obvious from the outset.
Syllabus
Introduction
- JavaScript can get tricky
- What you should know
- Using the exercise files
- Pain point: Sequential for loops become tedious
- Solution: Three alternatives
- Pain point: Processing arrays with loops is inelegant
- Solution: filter(), map(), and reduce()
- Challenge: Iterate differently
- Solution: Iterate differently
- Pain point: Copied objects are not actually copies
- Solution: JSON.stringify() and JSON.parse()
- Pain point: The value of this, like, and always
- Solution: bind()
- ES6+ solution: Arrow functions
- Challenge: Objects of hazard
- Solution: Objects of hazard
- Pain point: Send extra parameters to an event handler
- Solution: bind() again
- Pain point: Function signature doesn’t accept arrays
- Solution: Function.prototype.apply()
- Pain point: Refactoring function signatures
- Solution: Objects for arguments
- Challenge: Story generator
- Solution overview: Story generator
- Solution walkthrough: Story generator
- Next steps and thank you
Taught by
Joe Chellman
Related Courses
MongoDB for DBAsMongoDB University MongoDB for Node.js Developers
MongoDB University Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Programming Mobile Services for Android Handheld Systems: Communication
Vanderbilt University via Coursera HTML, CSS, and Javascript for Web Developers
Johns Hopkins University via Coursera