From 5a76bf5692dee5dee7c31bbe3224b827613f0607 Mon Sep 17 00:00:00 2001 From: HalidOdat Date: Wed, 1 Apr 2020 15:39:48 +0200 Subject: [PATCH] Update boa/src/syntax/ast/op.rs Co-Authored-By: Iban Eguia --- boa/src/syntax/ast/op.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa/src/syntax/ast/op.rs b/boa/src/syntax/ast/op.rs index f10b25ecdb..5e59717634 100644 --- a/boa/src/syntax/ast/op.rs +++ b/boa/src/syntax/ast/op.rs @@ -258,7 +258,7 @@ pub enum UnaryOp { /// The JavaScript `delete` operator removes a property from an object. /// - /// Syntax: `delete expression` + /// Syntax: `delete x` /// /// Unlike what common belief suggests, the delete operator has nothing to do with /// directly freeing memory. Memory management is done indirectly via breaking references.