From 792945d6d05f51b769f02940e44e62375db6e014 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Thu, 19 Dec 2013 12:03:08 -0800 Subject: [PATCH] added a coding question, got rid of one. --- README.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9b246dd..667713c 100644 --- a/README.md +++ b/README.md @@ -171,12 +171,12 @@ $(".foo div#bar:eq(0)") ####[[⬆]](#toc) Code Questions: -```javascript -~~3.14 -``` -*Question: What value is returned from the above statement?* -**Answer: 3** +```javascript +modulo(12, 5) // 2 +``` +*Question: Implement a modulo function that satisfies the above* + ```javascript "i'm a lasagna hog".split("").reverse().join(""); @@ -208,14 +208,6 @@ foo.push(2); **Answer: `2`** -```javascript -var foo = {}; -foo.bar = 'hello'; -``` -*Question: What is the value of `foo.length`?* - -**Answer: `undefined`** - ####[[⬆]](#toc) Fun Questions: * What's the coolest thing you've ever coded, what are you most proud of?