EN
JavaScript - check string length
8
points
In this article, we would like to show you how to check string length using JavaScript.
Quick solution:
// ONLINE-RUNNER:browser;
var text = 'ABC';
console.log(text.length); // 3
Output:
3