getter/setterã使ããã¨ã³æ¥½ãªã¯ã©ã¹å®ç¾© - ãã¡ããç¶æ¿ã - privateå¤æ°ã ã´ã¼ã«ï¼ getter/setterãå«ãã¯ã©ã¹å®ç¾©ãã¨ã³æ¥½ã«è¨è¿°ã§ãã(get/set) ã¯ã©ã¹ã®ç¶æ¿ãã¨ã³æ¥½ã«æ£ããè¨è¿°ã§ãã(extend) ã¨ã«ããé·ããã¼ã¯ã¼ããä½è¨ãªãã®ã¯ããã°ã©ãã«ã¯æ¸ãããªã constructorã®ä»£ããã«ãnewã使ããæ§ã«ãã prototypeã__proto__ãããã°ã©ãã«ã¯è¦ããªãæ¸ãããªã Object.definePropertyãObject.setPrototypeOfãªã©ãè¦ããªãæ¸ãããªã ã¤ãã§ã«å¤é¨ããã¢ã¯ã»ã¹ã§ããªãprivateãªå¤æ°ã使ããæ§ã«ãã â»npmã«base-class-extendã¨ãã¦ç»é²ãã¾ããã â»åè: [JavaScript] ãããªç¶æ¿ã¯ã¤ã¤ã - ã¯ã©ã¹å®ç¾© - ãªãã¸ã§ã¯ãä½æ ãã®è¨äºã®ã´ã¼ã«
{{#tags}}- {{label}}
{{/tags}}