# Föreläsning 4

{% hint style="info" %}

### Nyckelord

array, 0-baserat index, arrayliteral, `Array`, värdetyp, referenstyp, sorteringsfunktion
{% endhint %}

## Föreläsningsmaterial <a href="#forelasningsmaterial" id="forelasningsmaterial"></a>

* [HTML-presentation](https://rawgit.com/1dv021/syllabus/master/presentationer/04/index.html)

## Inspelningar

* [2019](https://youtu.be/o1WCrDAzR0o), [2018](https://youtu.be/qy8Rs0BKHec), [2017](https://www.youtube.com/watch?list=PLWl8eY9vSb6g68qMBI4g4Fh9IQN6b2tDW\&v=d1rbfLI6q-g), [2016](https://www.youtube.com/watch?list=PLWl8eY9vSb6grySsiX3gRp4juxN9DJiXz\&v=_eBqkxUmlFg), [2015](https://www.youtube.com/watch?list=PLWl8eY9vSb6iMIjVOm7r0gGRnlDercqGt\&v=XmNbIZGliNQ)

## Kurslitteratur

**Eloquent JavaScript, 3rd Edition**

* [4. Data Structures: Objects and Arrays](http://eloquentjavascript.net/04_data.html)
  * [Data Sets](http://eloquentjavascript.net/04_data.html#h_HjL/otjEJn)
  * [Properties](http://eloquentjavascript.net/04_data.html#h_vGyI2y8HA6)
  * [Methods](http://eloquentjavascript.net/04_data.html#h_fkrGgDyRWc)
  * [Further arrayology](http://eloquentjavascript.net/04_data.html#h_GFaxee4PuU)
  * [Strings and their properties](http://eloquentjavascript.net/04_data.html#h_mT4YQfwHp6)
* [5. Higher-Order Functions](http://eloquentjavascript.net/05_higher_order.html)
  * [Filtering an array](http://eloquentjavascript.net/05_higher_order.html#h_MM7RF32uzF)
  * [Transforming with map](http://eloquentjavascript.net/05_higher_order.html#h_lJEtQ+qjXz)
  * [Summarizing with reduce](http://eloquentjavascript.net/05_higher_order.html#h_fx3e34kT/k)
