Remove val from comment (#1207)

Line 78 uses ".once", but "val" is used in comment at line 79.
This commit is contained in:
bbayazit16
2022-02-19 09:59:38 +03:00
committed by GitHub
parent ba7c3e8bda
commit 2c3e7d55fd

View File

@@ -76,7 +76,7 @@ gun.get('mark').put(mark);
// access the data as if it is a document.
gun.get('mark').get('boss').get('name').once(function(data, key){
// `val` grabs the data once, no subscriptions.
// `once` grabs the data once, no subscriptions.
console.log("Mark's boss is", data);
});