0

Can somebody what is wrong with this code?

<!DOCTYPE html> <html lang="nl"> <head> <meta http-equiv="Content-Type" content="tekst/html; charset=UTF-8"> <title>Binary-search</title> </head> <body> <script> var studenten = new Array(16); studenten[0] = { 'naam' : 'Navajo' '06' : 3892934803 }; studenten[1] = { 'naam' : 'Zakaria' '06' : 8493028302 }; studenten[2] = { 'naam' : 'Hamsa' '06' : 3982023820 }; studenten[3] = { 'naam' : 'Rachel' '06' : 7329347038 }; studenten[4] = { 'naam' : 'Jesper' '06' : 4783940343 }; studenten[5] = { 'naam' : 'Jan' '06' : 8430402483 }; studenten[6] = { 'naam' : 'Jerodier' '06' : 3934884393 }; studenten[7] = { 'naam' : 'Lisa' '06' : 3834828439 }; studenten[8] = { 'naam' : 'Leonardo' '06' : 3402484738 }; studenten[9] = { 'naam' : 'Leo' '06' : 4789204848 }; studenten[10] = { 'naam' : 'Henk' '06' : 4563748395 }; studenten[11] = { 'naam' : 'Hendrikus' '06' : 4783924292 }; studenten[12] = { 'naam' : 'Rivaldo' '06' : 3782939032 }; studenten[13] = { 'naam' : 'Niguan' '06' : 4783920289 }; studenten[15] = { 'naam' : 'Markos' '06' : 6483920120 }; studenten[0] = { 'naam' : 'kyandra' '06' : 5463829483 }; function zoekalgoritme(studenten, key, imin, imax) { // test of array leeg is if (imax < imin) { // array is leeg } else {

21st Apr 2020, 4:46 PM
Rinish Harpal
Rinish Harpal - avatar
1 Answer
+ 1
You ran off character limits and got your text truncated. Save the code in SoloLearn and share the code link instead. Follow this guide to share links https://www.sololearn.com/post/75089/?ref=app
21st Apr 2020, 4:52 PM
Ipang