diff --git a/core/src/value/function.rs b/core/src/value/function.rs index a78b2f5a..53890901 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>,