Skip to content

Instantly share code, notes, and snippets.

@duncanmcdougall
Created April 26, 2015 21:18
Show Gist options
  • Save duncanmcdougall/0639a7ca98d6e21f8eb3 to your computer and use it in GitHub Desktop.
Save duncanmcdougall/0639a7ca98d6e21f8eb3 to your computer and use it in GitHub Desktop.
var Utils = (function () {
var M = {};
var _somethingPrivate = function () {
return "pears";
};
M.apples = function () {
return "apples";
};
M.pears = function () {
return somethingPrivate();
};
return M;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment