Menu
Home
Create New Paste
Archive
Contact
Sign In
Sign Up
×
Sign in
×
Sign in using social network
Facebook
Google
Sign in with your username
Username
Password
×
Sign up
×
Sign up using social network
Facebook
Google
Sign up with your email address
Username
Email
Full Name
Password
The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Javascript sample
By Guest on 9th July 2023 10:54:36 AM | Syntax: JAVASCRIPT | Views: 503
New paste
|
Download
|
Show/Hide line no.
|
Copy text to clipboard
<!
DOCTYPE html
>
<
html
>
<
body
>
<
h2
>
JavaScript Expressions
</
h2
>
<
p
>
Expressions compute to values.
</
p
>
<
p id
=
"demo"
></
p
>
<
script
>
document.
getElementById
(
"demo"
)
.
innerHTML
=
"John"
+
" "
+
"Doe"
;
</
script
>
</
body
>
</
html
>
Raw Paste:
JavaScript Expressions
Expressions compute to values.
Recent Pastes
Test.php
1 year 24 weeks 4 days 7 hours 24 mins and 27 secs ago
Javascript sample
1 year 24 weeks 4 days 7 hours 24 mins and 27 secs ago
Java Sample
1 year 24 weeks 4 days 7 hours 24 mins and 27 secs ago
Test Document
1 year 24 weeks 4 days 7 hours 24 mins and 27 secs ago
PHP Sample
1 year 24 weeks 4 days 7 hours 24 mins and 27 secs ago