From a5f18e03c05e34f5320abb38a0435d0508efc890 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Sun, 12 Sep 2021 15:13:57 -0400 Subject: [PATCH] docs: update variable --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b6024ed..6e0638f 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,8 @@ The below quickstart uses Node and TypeScript. If this quickstart does not fit y import { readFileSync } from "fs"; const data = readFileSync("./data.json", "utf-8"); - const doc = accio(data); - const result = doc + const result = accio(data) .array("versions") // Target the array named "versions" .findOne({ // In the array, find one object that has a name field ... name: "v0.0.3", // ... with the value of "v0.0.3"