I have to book (musical) notes in an assoc. array. The booking variable is:
var table = {
"E": [],
"F": [],
"G": [],
"A": [],
"H": [],
"c": [],
"d": [],
"e": [],
"f": [],
"g": [],
"a": [],
"h": [],
"c'": [],
"d'": [],
"e'": [],
"f'": [],
"g'": [],
"a'": [],
"h'": [],
"c\'\'": [],
"d\'\'": []
};
When I parse my notes the values (note positions) are inserted without any problem. But when I would like to get the value, it's not possible to use the key c'
, whereas e.g. e
, a
, d
work. Why can c'
accept values but can't be found as a key? Where must I look for an explanation?