Ledger Nano X - The secure hardware wallet
SHARE
TWEET

String Java

ahmadsubki1992 Apr 9th, 2020 (edited) 222 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Belajar Tipe Data JavaScript</title>
  5. </head>
  6. <body>
  7.     <h1>Tipe Data String Pada Javascript</h1>
  8.     <h2>www.junioracademy.id</h2>
  9.     <div id="luaran"></div>
  10.     <script>
  11.         // tipe data object    
  12.         var manusia = {
  13.             nama : "Ahmad Subki,
  14.             alamat  : "Gunungsari",
  15.             umur       : 28,
  16.             pekerjaan  : "Entahlah"
  17.         };
  18.  
  19.         // menampilkan tipe data object pada element id hasil
  20.         document.getElementById("luaran").innerHTML = manusia.nama + " tinggal di " + manusia.alamat + " .dia sekarang berumur"+ manusia.umur +" dan bekerja sebagai " + manusia.pekerjaan;
  21.     </script>
  22. </body>
  23. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top