소스 검색

Update script.js: Fixing semicolons

Bismantaka Aldila 3 년 전
부모
커밋
38670ac2be
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      script.js

+ 2 - 2
script.js

@@ -94,8 +94,8 @@ function isVideoLoaded() {
 
 function numberFormat(numberState) {
   const userLocales = navigator.language;
-  const formatter = Intl.NumberFormat(userLocales, { notation: 'compact' })
-  return formatter.format(numberState)
+  const formatter = Intl.NumberFormat(userLocales, { notation: 'compact' });
+  return formatter.format(numberState);
 }
 
 function setEventListeners(evt) {