ç®æ¬¡ 人æ°ã®ãã Module ãã¿ã¼ã³ãè¦ã¦ã¿ãããModule ãã¿ã¼ã³ã¯ JavaScript ãã¯ã©ã¹ãã®ã¢ã¤ãã£ã¢ã®ããã«ãããªãã¯ã¨ãã©ã¤ãã¼ãã®ä¸¡æ¹ã®ã«ãã»ã«åããããªãããã®æ¹æ³ãæä¾ãããå®éã«ã¯é¢æ°ã¨ãã¦å®ç¾©ããã¦ãããã¯ã©ã¹ããåæã«ãããã¯æ©è½ãã (ç°¡æ½æ§ã®ããã«ç¨èªãã¯ã©ã¹ã«ãããã¦èª¬æãã)ã ãã®ã¯ã©ã¹ã«å¯¾ãã¦ä½¿ãã¨æ±ºãããã©ã¡ã¼ã¿ã¯å®éã«ã¯ã¯ã©ã¹ã®ãã©ã¡ã¼ã¿ã§ãããã¯ã©ã¹å é¨ã§å®ç¾©ããããã¼ã«ã«å¤æ°ã¨é¢æ°ã®ä¸¡æ¹ã¯ãã©ã¤ãã¼ãã¡ã³ãã¼ã«ãªããã¯ã©ã¹ã® retrun ã¡ã½ãã (é¢æ°ã§ããã) ã¯ãããªãã¯ãªã¡ã½ããã¨å¤æ°ãå«ããªãã¸ã§ã¯ããè¿ãã ã¡ãã£ã¨ããããªãã¢ã¯ Module ãã¿ã¼ã³ã¯ Douglas Crockford (èæ¸ã® JavaScript: The Good Parts ãªã©ã§ç¥ããã) ã«ãã£ã¦ãªãªã¸ãã«ãã¤ãã©ã¼ãã«ã«å®ç¾©ãããã¨
{{#tags}}- {{label}}
{{/tags}}