From a037f0e00b2efd69858db2aabeb47e20991eaea2 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Wed, 4 Jan 2017 23:30:38 -0800 Subject: [PATCH] Add missing function call to "no side effects" --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8e718bcd..c656e0d1 100644 --- a/README.md +++ b/README.md @@ -548,6 +548,8 @@ function splitIntoFirstAndLastName() { name = name.split(' '); } +splitIntoFirstAndLastName(); + console.log(name); // ['Ryan', 'McDermott']; ```