@@ -25,14 +25,14 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
2525 < div class ='fl pad1y space-right2 '>
2626 < span class ="strong "> 100% </ span >
2727 < span class ="quiet "> Statements</ span >
28- < span class ='fraction '> 92/92 </ span >
28+ < span class ='fraction '> 93/93 </ span >
2929 </ div >
3030
3131
3232 < div class ='fl pad1y space-right2 '>
3333 < span class ="strong "> 100% </ span >
3434 < span class ="quiet "> Branches</ span >
35- < span class ='fraction '> 7/7 </ span >
35+ < span class ='fraction '> 8/8 </ span >
3636 </ div >
3737
3838
@@ -46,7 +46,7 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
4646 < div class ='fl pad1y space-right2 '>
4747 < span class ="strong "> 100% </ span >
4848 < span class ="quiet "> Lines</ span >
49- < span class ='fraction '> 92/92 </ span >
49+ < span class ='fraction '> 93/93 </ span >
5050 </ div >
5151
5252
@@ -155,7 +155,8 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
155155< a name ='L90 '> </ a > < a href ='#L90 '> 90</ a >
156156< a name ='L91 '> </ a > < a href ='#L91 '> 91</ a >
157157< a name ='L92 '> </ a > < a href ='#L92 '> 92</ a >
158- < a name ='L93 '> </ a > < a href ='#L93 '> 93</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
158+ < a name ='L93 '> </ a > < a href ='#L93 '> 93</ a >
159+ < a name ='L94 '> </ a > < a href ='#L94 '> 94</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
159160< span class ="cline-any cline-yes "> 1x</ span >
160161< span class ="cline-any cline-yes "> 1x</ span >
161162< span class ="cline-any cline-yes "> 1x</ span >
@@ -229,6 +230,7 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
229230< span class ="cline-any cline-yes "> 9x</ span >
230231< span class ="cline-any cline-yes "> 9x</ span >
231232< span class ="cline-any cline-yes "> 4x</ span >
233+ < span class ="cline-any cline-yes "> 3x</ span >
232234< span class ="cline-any cline-yes "> 4x</ span >
233235< span class ="cline-any cline-yes "> 1x</ span >
234236< span class ="cline-any cline-yes "> 1x</ span >
@@ -319,13 +321,14 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
319321 searchElement = ndarraylike2scalar( arrays[ 1 ] );
320322 fromIndex = ndarraylike2scalar( arrays[ 2 ] );
321323
322- if ( fromIndex < 0 ) {
323- fromIndex += N;
324- if ( fromIndex < 0 ) {
325- fromIndex = 0;
324+ if (fromIndex < 0) {
325+ if (fromIndex >= -N) {
326+ fromIndex += N;
327+ } else {
328+ return -1;
326329 }
327330 } else if ( fromIndex >= N ) {
328- return - 1;
331+ fromIndex = N - 1;
329332 }
330333 N = fromIndex + 1;
331334 stride = getStride( x, 0 );
@@ -346,7 +349,7 @@ <h1><a href="../../../../../../index.html">All files</a> / <a href="index.html">
346349 < div class ='footer quiet pad2 space-top1 center small '>
347350 Code coverage generated by
348351 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
349- at 2025-08-29T02:05:17.159Z
352+ at 2025-09-02T08:55:50.511Z
350353 </ div >
351354 < script src ="../../../../../../prettify.js "> </ script >
352355 < script >
0 commit comments