String.length length Description String.length Return values integer. Examples Example #1 – length example Runconsole.log('Hello World'.length); // 11 console.log('हिं'.length); // 3 External references Mozilla: String.length property