From 07a03aa6411db45022c3d2bb6549281a56c5292d Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 19 Sep 2018 15:11:10 -0400 Subject: use template string instead of + --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index dbece30..43740fa 100644 --- a/script.js +++ b/script.js @@ -122,7 +122,7 @@ function ready() { input.value.split(TOKEN_DELIM_RE).forEach(function (token) { if (!token || tryParse(token) || tryParse(token.toUpperCase())) return; - warn.push("don't understand search term: " + token); + warn.push(`don't understand search term: ${token}`); }); if (!state.subj && state.maybeSubj) { -- cgit v1.2.3-70-g09d2