Subject: [bug#68941] [PATCH 06/44] gnu: Add node-has-symbols.

From: Nicolas Graves <[email-masked]>
Date: Tue, 6 Feb 2024 00:18:54 +0100

* gnu/packages/node-xyz.scm (node-has-symbols): New variable.

Change-Id: I70c587929317c06fc01053a42b881bbc7002565d
---
 gnu/packages/node-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f4a10a7638..af49151e73 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -531,6 +531,13 @@ (define-public node-has-proto
 Object prototypes."
    #:mozilla-doclink "Global_Objects/Object/getPrototypeOf"))
 
+(define-public node-has-symbols
+  (node-trivial-package
+   "has-symbols" 0 "() => true"
+   "This package returns true in Javascript because web browsers implement
+symbols."
+   #:mozilla-doclink "Global_Objects/Symbol"))
+
 (define-public node-ieee754
   (package
     (name "node-ieee754")
-- 
2.41.0