Encapsulation in Javascript

How encapsulation can be achieved in Javascript: * private fields - variables trapped within a closure, * protected fields - don't use it at all, or use a »