Skip to content

Instantly share code, notes, and snippets.

@leben-jp
Last active February 25, 2018 10:16
Show Gist options
  • Save leben-jp/627faae88e30564ddf6144cafd092471 to your computer and use it in GitHub Desktop.
Save leben-jp/627faae88e30564ddf6144cafd092471 to your computer and use it in GitHub Desktop.
var key, Hash, val, temp;
Hash =
{
dog: "犬",
cat: "猫",
elefant: "象",
pig: "豚",
bird: "鳥",
};
console.log(Hash.dog); //犬
console.log(Hash["dog"]); //犬
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment