These are chat archives for camperbot/testing

16th
Oct 2015
@SaintPeter
Oct 16 2015 00:24
@abhisekp ok, that's awesome!
Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:24
lol
update
CamperBot
@camperbot
Oct 16 2015 00:24
updating wiki...
```...rrays.md => Bonfire-Return-Largest-Numbers-in-Arrays.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) rename bonfire-return-largest-numbers-in-arrays.md => Bonfire-Return-Largest-Numbers-in-Arrays.md (85%)```
`done code: 0`
:computer:
```Updating 7eed790..59606d8 Fast-forward```
@SaintPeter
Oct 16 2015 00:25
fs largest numbers
Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:25
explain bf bouncer
CamperBot
@camperbot
Oct 16 2015 00:25

The problem

Remove all falsy values from an array.

Falsy values in javascript are false, null, 0, "", undefined, and NaN.

``````function bouncer(arr) {
// Don't show a false ID to this bouncer.
return arr;
}

bouncer([7, "ate", "", false, 9]);``````
Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:25
explain bf arguments
CamperBot
@camperbot
Oct 16 2015 00:25
no wiki entry for: `bf arguments`
:pencil: click here to create one now!after creating your page type `update` to reload it here
@SaintPeter
Oct 16 2015 00:25
explain largest numbers
CamperBot
@camperbot
Oct 16 2015 00:25

Explanation:

You will get an array that contains sub arrays of numbers and you need to return an array with the largest number from each of the sub arrays.

Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:25
explain arguments
CamperBot
@camperbot
Oct 16 2015 00:25

Explanation:

It can be quite complicated to understand what needs to be done. There is always many ways to do something when coding but regardless of the algorithm used, we have to create a program that does the following:

• It has to add two numbers passed as parameters and return the sum.
• It has to check if any of the numbers are actual numbers, otherwise return undefined and stop the program right there.
• It has to check if it has one or two arguments passed. More re ignored.
• If it has only one then it has to return a function that used that number and expects another one, to then add it.
Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:26
@SaintPeter i need a comic for that largest number wiki like for the arguments :point_up: October 16, 2015 5:55 AM. I'm not getting anything good. :(
@SaintPeter
Oct 16 2015 00:29
@abhisekp I actually don't like the comic at the top. It's too big and takes up too much room in the chat.
@abhisekp IT annoys me when someone comes into the help room and does a bunch of wikiing
Abhisek Pattnaik
@abhisekp
Oct 16 2015 00:30
@SaintPeter :(
plz don't remove them.
Moreover it shows when ppl type `wiki ...`
but for looking at bonfire solutions, normally ppl do `bf ...` (in this case, it doesn't show)
bf arguments
CamperBot
@camperbot
Oct 16 2015 00:31

:fire:Bonfire: Arguments Optional :link:

``````function add() {
return false;
}

Create a function that sums two arguments together. If only one argument is provided, return a function that expects one additional argument and will return the sum.

more info:  `bf details` | `bf links` | `hint`

Abhisek Pattnaik
@abhisekp
Oct 16 2015 05:06
@SaintPeter One legged butt kicking can be done like this now :P
easy eh? :D
Steven Foley
@Zound
Oct 16 2015 10:31
find news
CamperBot
@camperbot
Oct 16 2015 10:31

find news

:zero: camper news

Abhisek Pattnaik
@abhisekp
Oct 16 2015 21:52
update
CamperBot
@camperbot
Oct 16 2015 21:52
updating wiki...
```Edit-or-Delete-message.md | 2 +- format-@meet999.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 format-@meet999.md```
```Updating 5fc1415..a1d271f Fast-forward```
`done code: 0`
:computer: