Skip to content

Commit 7418e56

Browse files
lachiehvados-cosmonic
authored andcommitted
fix(examples): adjust result parsing in demo file
Signed-off-by: Lachlan Heywood <[email protected]>
1 parent d241c97 commit 7418e56

File tree

1 file changed

+1
-1
lines changed
  • examples/components/bundled-esbuild

1 file changed

+1
-1
lines changed

examples/components/bundled-esbuild/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const XML_DATA = "<item><title>Hello</title><score>3</score></item><item><title>
55

66
const jsonScore = dataUtils.calculateScore({ tag: "json", val: JSON_DATA });
77
const xmlScore = dataUtils.calculateScore({ tag: "xml", val: XML_DATA });
8-
console.log(`${jsonScore}${xmlScore}`);
8+
console.log(jsonScore + xmlScore);

0 commit comments

Comments
 (0)