JavaScript in Strict Mode

JavaScript code that runs in a browser can access a user’s private information. To protect this information, LockerService requires you to use ECMAScript (ES5) strict mode, and enforces it in your code. This mode makes it easier to write secure JavaScript. A few code tweaks to comply with ES5 can substantially reduce the need for … Continue reading JavaScript in Strict Mode