From c3e968f84bdc8936805b53b7793dbaad4f59d3cc Mon Sep 17 00:00:00 2001 From: Rauno Freiberg Date: Mon, 19 Feb 2018 14:54:53 +0200 Subject: [PATCH] Use single quotes for strings for consistency This standard is laid out under the [Strings section](https://github.com/airbnb/javascript#strings--quotes). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2840b0b6f..1ca0a29c64 100644 --- a/README.md +++ b/README.md @@ -2814,7 +2814,7 @@ Other Style Guides [luke, leia].forEach(jedi => jedi.father = 'vader') // bad - raises exception - const reaction = "No! That's impossible!" + const reaction = 'No! That's impossible!' (async function meanwhileOnTheFalcon() { // handle `leia`, `lando`, `chewie`, `r2`, `c3p0` // ... @@ -2834,7 +2834,7 @@ Other Style Guides }); // good - const reaction = "No! That's impossible!"; + const reaction = 'No! That's impossible!'; (async function meanwhileOnTheFalcon() { // handle `leia`, `lando`, `chewie`, `r2`, `c3p0` // ...