What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-12 17:35:12
object is string javascript
var booleanValue = true; var numericalValue = 354; var stringValue = "This is a String"; var stringObject = new String( "This is a String Object" ); alert(typeof booleanValue) // displays "boolean" alert(typeof numericalValu... Add solution -
Javascript 2021-10-05 17:43:05
4.2. Type Conversion¶
/*The type conversion function String turns its argument into a string. Remember that when we print a string, the quotes may be removed. However, if we print the type, we can see that it is definitely 'string'.*/ console.log(String(17)); console.log(S... Add solution