added a coding question, got rid of one.

This commit is contained in:
Paul Irish 2013-12-19 12:03:08 -08:00
parent 3a3706f352
commit 792945d6d0
1 changed files with 5 additions and 13 deletions

View File

@ -171,12 +171,12 @@ $(".foo div#bar:eq(0)")
####[[⬆]](#toc) <a name='jscode'>Code Questions:</a>
```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) <a name='fun'>Fun Questions:</a>
* What's the coolest thing you've ever coded, what are you most proud of?