Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Array

ahmadsubki1992 Apr 9th, 2020 177 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 Array
  12.         var hari = ["Senin", "Selasa", "Rabut", "Kamis", "Jumat", "Sabtu", "Ahad"];
  13.         // menampilkan tipe data Array pada element luaran
  14.         document.getElementById("luaran").innerHTML = hari[1];
  15.     </script>
  16. </body>
  17. </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