TL;DR babel-polyfillã§Mapã®polyfillã使ãå ´åã2ç¹æ³¨æãããã¨ãããã ES5ç°å¢ã§ã¯ãObject.freezeãªã©ããªãã¸ã§ã¯ãã«ããããã£ãçãããªãããæä½ããããªãã¸ã§ã¯ãããã¼ã«æã¤ããããä½ãã¨ãgetãªã©ã®æä½ãO(1)ã§ãªãO(n)ã«ãªã£ã¦ãã¾ãã ES3ç°å¢ã§ã¯ããªãã¸ã§ã¯ãããã¼ã«æã¤ããããä½æããã¨ããã¼ã«ä½¿ç¨ãããªãã¸ã§ã¯ãã«åæã«åæå¯è½ãªããããã£ãçããããã®ã§ãfor-inãã¦ããã³ã¼ãããã°ãå¯è½æ§ãããã åæç¥è Mapã¨ããã°ãES2015ã®æ°æ©è½ã§ããã ES5以åã¯è¾æ¸åã«ç¸å½ãããã®ã使ãããå ´åããªãã¸ã§ã¯ãã代ç¨åã¨ãã¦é¨ãé¨ã使ããã¨ãå¤ãã£ãããES2015ã§Mapãæä¾ããããã¨ã§ãããããã¯ãªãã¸ã§ã¯ãã«ãã£ãå¶ç´ãæ°ã«ããã«è¾æ¸åã使ããã¨ãã§ããããã«ãªã£ãã ãªãã¸ã§ã¯ããè¾æ¸åã®ä»£ç¨åã¨ã
{{#tags}}- {{label}}
{{/tags}}