Skip to main content

str_last_index_of

Function str_last_index_of 

Source
pub(crate) fn str_last_index_of(
    _: &mut Interp,
    t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

str.lastIndexOf(search, position)(位置は文字単位。省略・NaN は末尾から)。 【2026-10-17】丸ごと未実装で、YouTube の cookie 読み出し(f.lastIndexOf(c, 0) == 0)が 例外を投げ、そのエラー記録がまたエラーになる無限再帰を起こしていた。