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
0023116b0b
  1. 2
      boa/src/syntax/ast/op.rs

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

@ -531,7 +531,7 @@ impl Display for CompOp {
/// Logical operators are typically used with Boolean (logical) values; when they are, they return a Boolean value. /// Logical operators are typically used with Boolean (logical) values; when they are, they return a Boolean value.
/// ///
/// However, the && and || operators actually return the value of one of the specified operands, /// However, the `&&` and `||` operators actually return the value of one of the specified operands,
/// so if these operators are used with non-Boolean values, they may return a non-Boolean value. /// so if these operators are used with non-Boolean values, they may return a non-Boolean value.
/// ///
/// More information: /// More information:

Loading…
Cancel
Save