JavaScript: Best Practices for Functions and Classes

LinkedIn Learning
via LinkedIn
Save (0)
ClosePlease login

No account yet? Register

JavaScript uses C-based syntax, but the structures at its core, namely functions and classes, behave very differently than C behaves. Leveraging recommended techniques can help you develop JavaScript code that is more consistent and easier to maintain. In this course, explore best practices for architecting your programs. Consider ways that details can take paths that differ from other programming languages. Learn about creating well-built, organized, modular, and high-quality code by using a style guide, modern deployment tools, and strict mode. Discover how to carefully construct functions using more predictable expressions over declarations and by avoiding the modification of parameter values. Examine the dos—and don’ts—of “this” values and learn about which JavaScript features to avoid.

Instructor(s)

Sasha Vodnik
LinkedIn Learning
via LinkedIn
Paid, free trial available
English
Certificate of Completion
1h 45m
Self paced
Intermediate