Last active
December 2, 2017 17:59
-
-
Save topspinppy/59f945ccf2ec98cb49c90da841fe0698 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var firebaseRef = firebase.database().ref("ใส่ Root ลงไป"); | |
firebaseRef.once('value').then(function(dataSnapshot) { | |
console.log(dataSnapshot.key); //เอา Key ของ JSON ออกมาแสดง | |
console.log(dataSnapshot.val()); //เอา Value ของ JSON ออกมาแสดง | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment