TypeScriptæ¬ã®5ç« ã§ã¯ã³ã³ãã¤ã«å¾ã®JSãã¡ã¤ã«ãèªããããã«JavaScriptã®ä»æ§ã«ã¤ãã¦è§£èª¬ããã¦ãã¾ãã Object.defineProperty()ã¨ããã¡ã½ããããåç¥ã§ããããã ãã®ã¡ã½ããã¯ä¸»ã«æ¸ãæãä¸å¯è½ãªãªãã¸ã§ã¯ãããããã£ãå®ç¾©ãããã使ãã¾ãã ãããä»ã¾ã§ç¥ãã¾ããã§ããã»ã» ã£ã¦ãã¨ã§ããããã¸ãããµã¤æ¬ãè¦ãªãã復ç¿ãã¦ã¿ã¾ãã Object.defineProperty()ã¨ã¯ ECMAScript5ãããªãã¸ã§ã¯ãã®ããããã£ã«ãå¤ä»¥å¤ã«ããè¨å®ãä»ä¸ãããã¨ãã§ããããã«ãªã£ã¦ãã¾ãã è¨å®ã¨ããã®ã¯ã æ¸ãè¾¼ã¿å¯è½ã åæå¯è½ã åå®ç¾©å¯è½ã ã¨ããæ å ±ã«ãªãã¾ãã Chromeã®ã³ã³ã½ã¼ã«ã«ä»¥ä¸ã®ã³ã¼ããè²¼ãä»ãã¦å®è¡ããã¨ããã®ãããªçµæãå¾ããã¾ãã // ãããè²¼ãä»ãã㨠Object.getOwnPropertyDesc
{{#tags}}- {{label}}
{{/tags}}