From 692876c73740d039ac840c91c719f7e9cf3b7e76 Mon Sep 17 00:00:00 2001 From: Kevin Law Date: Thu, 2 Mar 2023 19:24:59 +0800 Subject: [PATCH] docs(clipboard): fix an issue of demo code (#37438) doc(clipboard): fix an issue of demo code --- docs/api/clipboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/clipboard.md b/docs/api/clipboard.md index 813065fa3013..b0602c40d31d 100644 --- a/docs/api/clipboard.md +++ b/docs/api/clipboard.md @@ -226,7 +226,7 @@ clipboard.writeBuffer('public/utf8-plain-text', buffer) const ret = clipboard.readBuffer('public/utf8-plain-text') -console.log(buffer.equals(out)) +console.log(buffer.equals(ret)) // true ```