From 9fb98c8bd09f4b0195d166755c2b71e85234e29d Mon Sep 17 00:00:00 2001
From: Michael Long <mlong@mlong.us>
Date: Tue, 26 Jan 2021 13:29:28 -0800
Subject: [PATCH] it's all lies

---
 exec/load/json-db.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/exec/load/json-db.js b/exec/load/json-db.js
index dd4781ead1..d230a07ddc 100644
--- a/exec/load/json-db.js
+++ b/exec/load/json-db.js
@@ -291,7 +291,7 @@ function JSONdb (fileName, scope) {
         }
 	}
 	
-	/* shift a record off the end of an array */
+	/* shift a record off the beginning of an array */
 	this.shift = function(request,record) {
 		var client = request.client;
 		/* if the requested data does not exist, result is undefined */
@@ -374,7 +374,7 @@ function JSONdb (fileName, scope) {
         }
 	}
 	
-	/* push a record onto the end of an array */
+	/* push a record onto the beginning of an array */
 	this.unshift = function(request,record) {
 		var client = request.client;
 		var data = request.data;
@@ -402,7 +402,7 @@ function JSONdb (fileName, scope) {
         }
 	}
 	
-	/* shift a record off the end of an array */
+	/* slice portion of array into new array */
 	this.slice = function(request,record) {
 		var client = request.client;
 		/* if the requested data does not exist, result is undefined */
-- 
GitLab