From 9cc531ed106e62a0e5fb470f83614caa3718efa5 Mon Sep 17 00:00:00 2001 From: Joseph P Medley Date: Tue, 26 Mar 2024 18:27:01 -0700 Subject: [PATCH] Fix bcd.getVersions(). --- bcd.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bcd.js b/bcd.js index 4340da5..3681f42 100644 --- a/bcd.js +++ b/bcd.js @@ -143,7 +143,9 @@ class BCD { versions.push('Not supported'); } } - return versions.join(', '); + // TODO: Figure out whether this needs to return a string or an array. + // return versions.join(', '); + return versions; } getBrowsers(key, trunk = 'api') {