Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #38578
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2020-07-21 15:16 -0700 |
| References | <e0d2ae34-f1bb-4971-b65f-d367c9de4b68o@googlegroups.com> <XnsAC01EFCB4B271eejj99@194.109.6.166> |
| Message-ID | <3daedb4b-e2d7-4ed7-834a-6995f1bcb246o@googlegroups.com> (permalink) |
| Subject | Re: Object property not inserted or reached. |
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
Den tisdag 21 juli 2020 kl. 23:34:27 UTC+2 skrev Evertjan.:
> <jonas.thornvall@gmail.com> wrote on 21 Jul 2020 in comp.lang.javascript:
>
> > for (var m =0; m < 1; m++) {
>
> How many times does this run?
>
>
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)
<script>
let tileElement=[];
//tileElement[] = {
// tileColor : "",
// tileName : "",
// occupied : false,
// pieceColor: "",
// pieceType: "",
//};
initTiles();
function initTiles(){
tileElement.push({tileColor:"W",tileName:"A1", occupied:true,pieceColor:"W",pieceType:"R"});
alert(tileElement[0].tileColor);
}
</script>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Object property not inserted or reached. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-21 14:26 -0700
Re: Object property not inserted or reached. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-21 23:34 +0200
Re: Object property not inserted or reached. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-21 14:47 -0700
Re: Object property not inserted or reached. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-22 00:38 +0200
Re: Object property not inserted or reached. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-21 15:16 -0700
csiph-web