Programming
Python
R
Java
C
C++
C#
WEB
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
MORE
Examples1
Python
GO
R
Java
C
C++
C#
Examples2
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Seo Tools
Code Minifier
Code Beautifier
Language Compiler
Misc Tools
File Converter
References
C
C++
Python
Java
PHP
JavaScript
Examples
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Home
About
Contact
JetPack
Multi Themes-->>
Code it ALL
Scroll TOP
String in JavaScript - CodeGK
Δ Javascript Examples
Data_types
String in JavaScript
Number in JavaScript
Boolean in JavaScript
Undefined in JavaScript
Object in JavaScript
Array in JavaScript
Null in JavaScript
Function in JavaScript
Print
document.write() in JavaScript
windows.alert() in JavaScript
console.log() in JavaScript
Comments
Single-Line Comments in JavaScript
Multi-Line Comments in JavaScript
Function
Function Call in JavaScript
Nested Function in JavaScript
Function_definitions
Add Two Numbers in JavaScript
Recursive Factiorial Calculation in JavaScript
Writing custom print function in JavaScript
♦ String in JavaScript
♣ Example1: String in JavaScript
String data type is used to store textual data.
In this example, String data type is illustrated.
Example
Input:
Run CODE
Reload Code
Copy Code
Output:
Data_types
String in JavaScript