From e6de3cef1d57783004994e2875e97a79703453f2 Mon Sep 17 00:00:00 2001 From: James Parkes Date: Wed, 25 Jan 2017 12:31:55 -0600 Subject: [PATCH] update code.js --- lesson-4/look-at-a-polyfill/code.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lesson-4/look-at-a-polyfill/code.js b/lesson-4/look-at-a-polyfill/code.js index e47845f..8ee1c51 100644 --- a/lesson-4/look-at-a-polyfill/code.js +++ b/lesson-4/look-at-a-polyfill/code.js @@ -5,8 +5,7 @@ if (!String.prototype.startsWith) { }; } - -/* Sample usage */ +/* sample usage */ 'Udacity'.startsWith('Udac'); // returns `true` 'Udacity'.startsWith('Udac', 2); // returns `false` 'Udacity'.startsWith('ES6'); // returns `false`