Open 404pnf opened 9 years ago
Can't run Chap12-[10, 11, 12, 14].js unless
this.shellsort1 = shellsort1;
//this.shellsort = shellsort;
this.mergeSort = mergeSort;
this.mergeArrays = mergeArrays;
Is this expected?
I see the problem. The js file strictly mirrors what in the book. So those methods are not added to CArray.js. But one has to do all the above to make those codes run properly.
I've contacted to author to address your questions about the code examples. Hopefully we'll have an answer to your query shortly.
Either make a copy of Chap12-1.js and rename it to CArray.js or make a symbolic link. Or else codes won't run,