Check out a free preview of the full Meteor course:
The "Adding JavaScript" Lesson is part of the full, Meteor course featured in this preview video. Here's what you'd learn in this lesson:

The Template namespace in Meteor exposes a JavaScript API for accessing all template objects. This allows developers to add helper functions to each template.Chris creates the comments function that will return an array of objects and display them on the page.

Get Unlimited Access Now