These are chat archives for camperbot/testing

11th
Aug 2015
João Fortunato
@jfortunatojr
Aug 11 2015 17:29
bf Bonfire: where art thou
CamperBot
@camperbot
Aug 11 2015 17:29

:fire:Bonfire: Where art thou :link:

function where(collection, source) {
  var arr = [];
  // What's in a name?
  return arr;
}

where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' });

Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).

more info:  bf details | bf links | hint

João Fortunato
@jfortunatojr
Aug 11 2015 17:29
Hint
CamperBot
@camperbot
Aug 11 2015 17:29
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
mjgoren
@mjgoren
Aug 11 2015 18:07
Help
CamperBot
@camperbot
Aug 11 2015 18:07

Hi I'm CamperBot! I can help you in this chatroom :smile:

Basic commands:

  • find TOPIC find all entries about topic. ex: find js
  • wiki TOPIC show contents of topic page
  • thanks @username send brownie points to another user
  • about @username shows info on that user
  • bonfire BFNAME info on a bonfire

:speech_balloon: meet camperbot in this room!

:pencil: read more about camperbot on the FCC Wiki

hello mjgoren
what can i help you with today?
don't be shy @mjgoren
mjgoren
@mjgoren
Aug 11 2015 18:50
i'm just looking for someone to talk to
dc
@dcsan
Aug 11 2015 18:50
help
CamperBot
@camperbot
Aug 11 2015 18:50

Hi I'm CamperBot! I can help you in this chatroom :smile:

Basic commands:

  • find TOPIC find all entries about topic. ex: find js
  • wiki TOPIC show contents of topic page
  • thanks @username send brownie points to another user
  • about @username shows info on that user
  • bonfire BFNAME info on a bonfire

:speech_balloon: meet camperbot in this room!

:pencil: read more about camperbot on the FCC Wiki

dc
@dcsan
Aug 11 2015 18:50
find js
mjgoren
@mjgoren
Aug 11 2015 18:50
js closures
dc
@dcsan
Aug 11 2015 18:50
help ternary
CamperBot
@camperbot
Aug 11 2015 18:50

:point_right: js ternary [wiki]

The Ternary operator replaces an if/then block.

It's mostly used in one liners for simple tests and replacements, like this:

var x = false;
var s = x ? "yes" : "no";
console.log(s);  //→ "no"

:pencil: read more about js ternary on the FCC Wiki

dc
@dcsan
Aug 11 2015 18:52
thanks @mjgoren
CamperBot
@camperbot
Aug 11 2015 18:52
dcsan sends brownie points to @mjgoren :sparkles: :thumbsup: :sparkles:
hey @dcsan if you found this info helpful :point_right: consider adding a wiki article!
dc
@dcsan
Aug 11 2015 18:52
update
CamperBot
@camperbot
Aug 11 2015 18:52
updating wiki...
Updating 2de2fe5..37bba46 Fast-forward
Basejump-Resources.md | 16 ++++++++++++++++ Bonfire-Reverse-a-String.md | 2 +- List-of-Free-Code-Camp-city-based-Campsites.md | 6 +++--- ...ion-for-FCCs-sorted-union-using-callback-function.md | 0 bonfire-smallest-common-multiple.md | 17 ++++++++++++++--- bonfire-truncate-a-string.md | 2 +- points.md | 1 + 7 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 Basejump-Resources.md rename "Trying-to-understand-the-solution-for-fCC's-\"sorted-union\"-using-callback-function..md" => Trying-to-understand-the-solution-for-FCCs-sorted-union-using-callback-function.md (100%) create mode 100644 points.md
done code: 0
:computer:
dc
@dcsan
Aug 11 2015 18:52
help points
CamperBot
@camperbot
Aug 11 2015 18:52

:point_right: points [wiki]

you can get points from being thanked by people
:pencil: read more about points on the FCC Wiki
CamperBot
@camperbot
Aug 11 2015 19:30
hello matt!
mjgoren
@mjgoren
Aug 11 2015 19:30
fraud!!
deceit!
CamperBot
@camperbot
Aug 11 2015 19:30
press :one: for customer service!
mjgoren
@mjgoren
Aug 11 2015 19:31
explain apr
CamperBot
@camperbot
Aug 11 2015 19:31
no wiki entry for: apr
:pencil: click here to create one now!after creating your page type update to reload it here
dc
@dcsan
Aug 11 2015 21:30
find sorted