diff --git a/core/src/value/function.rs b/core/src/value/function.rs index 786d0c49..9f39e37e 100644 --- a/core/src/value/function.rs +++ b/core/src/value/function.rs @@ -81,7 +81,7 @@ impl<'js> Function<'js> { /// Defer call the function with given arguments. /// /// Calling a function with defer is equivalent to calling a JavaScript function with - /// `setTimeout(func,0)`. + /// `queueMicrotask()`. pub fn defer(&self, args: A) -> Result<()> where A: IntoArgs<'js>,