Browse Source

Update script.js: Fixing semicolons

Bismantaka Aldila 3 years ago
parent
commit
38670ac2be
1 changed files with 2 additions and 2 deletions
  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) {