Browse Source

Update boa/src/syntax/ast/op.rs

Co-Authored-By: Iban Eguia <razican@protonmail.ch>
pull/293/head
HalidOdat 4 years ago
parent
commit
487a719aa8
  1. 2
      boa/src/syntax/ast/op.rs

2
boa/src/syntax/ast/op.rs

@ -278,7 +278,7 @@ pub enum UnaryOp {
/// The `void` operator evaluates the given `expression` and then returns `undefined`.
///
/// Syntax: `void expression`
/// Syntax: `void x`
///
/// This operator allows evaluating expressions that produce a value into places where an
/// expression that evaluates to `undefined` is desired.

Loading…
Cancel
Save