JavaScript Built-in Objects: String, Array, Date, and Math

String Object The String object in JavaScript provides various methods for manipulating text strings. Here are some commonly used properties and methods: // length property const text1 = "helloWorld"; document.write(text1.length); document.write("<br></br>"); // bold(): makes text bold const text2 = "import ...

Posted on Tue, 26 May 2026 20:15:16 +0000 by kemu_