Jason Jeffries

27%
Flag icon
The general pattern of a module is a function that defines private variables and functions; creates privileged functions which, through closure, will have access to the private variables and functions; and that returns the privileged functions or stores them in an accessible place.
JavaScript: The Good Parts: The Good Parts
Rate this book
Clear rating
Open Preview