Professional Edge

JavaScript: The Tricky Bits

“This code works, but there must be a simpler way.” JavaScript hides lots of power behind techniques with approaches or even names that are not obvious. Developers who want to create more streamlined code with JavaScript’s less visible—and often more powerful—options may need some extra information. In this course, web designer, author, and trainer Joe Chellman highlights hard-to-find techniques that can make a huge difference in how you use JavaScript. After explaining why even experienced developers may still find JavaScript tricky, Joe jumps right into alternatives to speed up loops and process arrays with loops more elegantly. He clears up some confusion around objects, binding, and more. Joe concludes with some sound advice on functions, including how to pass extra named parameters, how to get a function signature to accept arrays, and how to determine which parameters come first more efficiently.

Login to LinkedIn Learning