eval()
bearbeitet von
@@dedlfix
> ~~~JavaScript
> myElements: function(id){
> arrElements = new Array();
> arrElements[0] = [1, 3, 4, 5, 7];
> arrElements[1] = [0, 2, 3, 4, 5, 6, 7];
>
> return arrElements[id];
> }
> ~~~
Einfacher geschrieben:
~~~JavaScript
myElements: function(id){
arrElements = [
[1, 3, 4, 5, 7],
[0, 2, 3, 4, 5, 6, 7]
];
return arrElements[id];
}
~~~
LLAP 🖖
--
“When UX doesn’t consider *all* users, shouldn’t it be known as ‘*Some* User Experience’ or... SUX? #a11y” —[Billy Gregory](https://twitter.com/thebillygregory/status/552466012713783297)