Guest User

Untitled

a guest
Aug 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. var constructor = function (spec, my) {
  2. var that = {};
  3. var my = my || {};
  4.  
  5. // This function is private.
  6. my.privateFunction = function() {
  7. return true;
  8. };
  9.  
  10. // This function is public.
  11. that.publicFunction = function() {
  12. return true;
  13. };
  14.  
  15. return that;
  16. };
Add Comment
Please, Sign In to add comment