From c6f2f7fae148730d5d957ac55764871a7682c6ee Mon Sep 17 00:00:00 2001 From: Aaron Cordova Date: Sat, 19 Aug 2017 15:21:25 -0400 Subject: [PATCH] Shaved a few bytes off by removing a ternary. --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 1b7c5b0f..ef74a7bc 100644 --- a/lib/main.js +++ b/lib/main.js @@ -19,7 +19,7 @@ function parse (src) { var key = keyValueArr[1] // default undefined or missing values to empty string - var value = keyValueArr[2] ? keyValueArr[2] : '' + var value = keyValueArr[2] || '' // expand newlines in quoted values var len = value ? value.length : 0