diff --git a/MVC/navn og epost/index.html b/MVC/navn og epost/index.html
new file mode 100644
index 0000000..e69de29
diff --git a/MVC/navn og epost/model.js b/MVC/navn og epost/model.js
new file mode 100644
index 0000000..7f6b95c
--- /dev/null
+++ b/MVC/navn og epost/model.js
@@ -0,0 +1,31 @@
+const model = {
+ app: {
+ page: 'search'
+ },
+
+ inputs : {
+ search: {
+ text: '',
+ },
+ createNew: {
+ name: '',
+ email: '',
+ },
+ delete: {
+ areYouSure: false,
+ personId: null,
+ },
+ edit: {
+ personId: null,
+ name: '',
+ email: '',
+ },
+ },
+
+ // felles data
+ people: [
+ { id: 1, name: 'Per', email: 'per@mail.com'},
+ ],
+
+
+}
\ No newline at end of file
diff --git a/eloquentjavascript/05_higher_order_functions/composability.js b/eloquentjavascript/05_higher_order_functions/composability.js
index e69de29..dcc7ce0 100644
--- a/eloquentjavascript/05_higher_order_functions/composability.js
+++ b/eloquentjavascript/05_higher_order_functions/composability.js
@@ -0,0 +1,2 @@
+const SCRIPTS = require("./scripts.js");
+
diff --git a/eloquentjavascript/05_higher_order_functions/exercises.js b/eloquentjavascript/05_higher_order_functions/exercises.js
index ba4b234..d636c73 100644
--- a/eloquentjavascript/05_higher_order_functions/exercises.js
+++ b/eloquentjavascript/05_higher_order_functions/exercises.js
@@ -15,3 +15,18 @@ for (let key in arrays) newArray = newArray.concat(arrays[key]);
// }
//reduceArrays();
console.log(newArray2);
+
+function loop(value, testFunc, updateFunc, bodyFunc){
+ for (let i = 0; i < value; i++){
+ if (testFunc == false){
+ return
+ } else {
+ // updateFunc(value)
+
+ bodyFunc(value);
+ }
+ value--;
+ }
+
+}
+loop(3, n => n > 0, n => n - 1, console.log);
\ No newline at end of file