I'm using HTML and javascript to make simple web games to play. so giving preset value as an "map element" by using arrays and library.
calling values in an array goes like this:
array = [a,b,c,d]
blah.innerHTML = array[1] // returns "b"
or
lib = {a:"cat",b:"dog",c:[a,b,c,d]}
blah.innerHTML = lib.c.1(or lib.c[1]) // returns "b"
shouldn't it?
well it returns as an error by saying something like "the null value is null" (i had to translate it)
it used to work for sure, but it doesn't anymore... might know why?
used Software: ie8(im in some kind of "closed society"), dreamweaver
lib.c[1], also is it['a','b','c','d']or[a,b,c,d]?