javascript compare string lengths code example
Example: compare string length javascript
const s1 = 'javascript';
const s2 = 'node.js';
console.log(s1.length > s2.length); // true
const s1 = 'javascript';
const s2 = 'node.js';
console.log(s1.length > s2.length); // true