Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/fuchsia
/
.
/
test
/
parallel
/
test-timers-clear-null-does-not-throw-error.js
blob: 89d433c191abe1951a0f162a1ccd4f67782b2212 [
file
] [
log
] [
blame
] [
edit
]
'use strict'
;
require
(
'../common'
);
// This test makes sure clearing timers with
// 'null' or no input does not throw error
clearInterval
(
null
);
clearInterval
();
clearTimeout
(
null
);
clearTimeout
();
clearImmediate
(
null
);
clearImmediate
();