ãã¡ã¤ã«ãµã¤ãºãªããã表示ããã¨ãã¯å¤§æµãã¤ã(byte)æ°ããã¼ã¿ã¨ãã¦åãåã£ãããã¾ãã å°ãããµã¤ãºãªãåé¡ãªãã§ããæ°MBã¨ãã«ãªãã¨ãã¤ãã§æ¸ãããã¨èªã¿ã¥ããã§ãã ãããªã¨ãã«ç°¡åã«è¨ç®ããæ¹æ³ãããã¾ãã ååä½ã®ãã¤ãæ°ãæ±ãã è¨ç®ãå§ããåã«ååä½ãJSã§ç°¡åã«æ±ããæ¹æ³ã§ãã 1KB = 1024byteã¨ããã¨ãã«ããã°ã©ã ã§ç°¡åã«KBãTBãbyteã«ããæã®byteæ°ãæ±ãã¾ãã const kb = 1024 const mb = Math.pow(kb, 2) const kb = Math.pow(kb, 3) const tb = Math.pow(kb, 4) ååä½ã¯1024ã®ã¹ãä¹ã§æ±ããã°ç°¡åã§ãã â»ES6ã®å ´åã¯kb ** 2ã¨ããæ¸ãæ¹ãã§ãã¾ã è¨ç®ããããã¤ãæ°ãã©ã®åä½ã«ãããããã è¨ç®ããããã¤ãæ°ãååä½ãè¶ ãã¦ããæç¹ã®ã
{{#tags}}- {{label}}
{{/tags}}