Private Variables in JavaScript

Steve Griffith - Prof3ssorSt3v3
Steve Griffith - Prof3ssorSt3v3
12.1 هزار بار بازدید - 7 سال پیش - Many programming languages have the
Many programming languages have the concept of public and private methods and properties. Private methods and properties are ones that cannot be seen or accessed from outside their containing class or file.

While JavaScript does not officially have access modifiers that let you mark something as public or private there is a way that we can create Private variables and methods. That is the topic for this video.

Code GIST: https://gist.github.com/prof3ssorSt3v...

IIFE video: JavaScript IIFE (Immediately Invoked ...
7 سال پیش در تاریخ 1396/07/20 منتشر شده است.
12,169 بـار بازدید شده
... بیشتر