Skip to content

clearInterval(clearTimeout) 표준 미구현 #19

@ghost

Description

유효하지 않은 TimeoutID를 인자로 주면 표준과는 다르게 예외가 발생합니다.

오류내용

clearTimeout(103);
Runtime Error(test1)
Wrapped java.lang.IndexOutOfBoundsException: Index: 102, Size: 0 (test1#2)	at test1:2

표준

Passing an invalid ID to clearTimeout() silently does nothing; no exception is thrown.
clearTimeout()에 잘못된 ID를 전달하면 아무 작업도 수행되지 않습니다. 즉, 예외가 발생하지 않습니다.
MDN

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnot standardNot standard implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions