- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 19 Oct 2021 13:45:54 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 October 2021 20:46:06 UTC
indexToDelete becomes -1 (it is a JavaScript spec [mathematical number](https://tc39.es/ecma262/#sec-mathematical-operations), and so the loop does not run. I don't think there's any need to special case this. I'll close since I think it's pretty clear given how numbers work... let me know if you disagree. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1049#issuecomment-947091408
Received on Tuesday, 19 October 2021 20:46:06 UTC