These are chat archives for dcsan/gitterbot

26th
Sep 2015
dc
@dcsan
Sep 26 2015 02:22
botstatus
CamperBot
@camperbot
Sep 26 2015 02:22
All bot systems are go!
botVersion: 0.0.11
env: prod
botname: camperbot
dc
@dcsan
Sep 26 2015 02:22
bonfire diff
CamperBot
@camperbot
Sep 26 2015 02:22

:fire:Bonfire: Diff Two Arrays :link:

function diff(arr1, arr2) {
  var newArr = [];
  // Same, same; but different.
  return newArr;
}

diff([1, 2, 3, 5], [1, 2, 3, 4, 5]);

Compare two arrays and return a new array with any items not found in both of the original arrays.

more info:  bf details | bf links | hint

dc
@dcsan
Sep 26 2015 02:22
hint
CamperBot
@camperbot
Sep 26 2015 02:22
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Sep 26 2015 02:23
help js
CamperBot
@camperbot
Sep 26 2015 02:23

:point_right: js fundamental [wiki]

First do it, then do it right, then do it better. This is one fundamental I always keep in mind when developing anything.
If you're a developer wishing to learn something new, regardless of skill-level, remember that as important as it is to read, it's equally as important to get out there and do.
Create a new gist or JSBin, pop open the console and experiment. It's effing fun.
Addy Osmani
:pencil: read more about js fundamental on the FCC Wiki
dc
@dcsan
Sep 26 2015 02:23
find js
CamperBot
@camperbot
Sep 26 2015 02:23

find js

more enteries:

:two::zero: jsonp
:two::one: testingjson
:two::two: wiki js template

dc
@dcsan
Sep 26 2015 02:23
find ternary
CamperBot
@camperbot
Sep 26 2015 02:23

find ternary

:zero: js ternary

dc
@dcsan
Sep 26 2015 02:23
explain ternary
CamperBot
@camperbot
Sep 26 2015 02:23

: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
Sep 26 2015 02:24
update
CamperBot
@camperbot
Sep 26 2015 02:24
updating wiki...
Updating b60a2bc..16b6f86 Fast-forward
js-ternary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
done code: 0
:computer:
dc
@dcsan
Sep 26 2015 02:24
explain ternary
CamperBot
@camperbot
Sep 26 2015 02:24
no wiki entry for: ternary
:pencil: click here to create one now!after creating your page type update to reload it here
dc
@dcsan
Sep 26 2015 02:25
explain ternary
CamperBot
@camperbot
Sep 26 2015 02:25

:point_right: js ternary [wiki]

The Ternary operator replaces an if/then block in a compact way.
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

Rex Schrader
@SaintPeter
Sep 26 2015 03:51
More regex issues:
blob
Abhisek Pattnaik
@abhisekp
Sep 26 2015 04:03
@SaintPeter #142
Rex Schrader
@SaintPeter
Sep 26 2015 04:04
@abhisekp I guess one of us will have to do the stupid Google Analytics thing so we can get @dcsan to push you the fixes, yes?
Abhisek Pattnaik
@abhisekp
Sep 26 2015 04:05
@SaintPeter yes. But I'm bit busy with sm other stuffs. Will be free next mnth.
Rex Schrader
@SaintPeter
Sep 26 2015 04:05
"sm"?
Abhisek Pattnaik
@abhisekp
Sep 26 2015 04:05
some
@SaintPeter moreover, the thanks regex is not yet ready.
CamperBot
@camperbot
Sep 26 2015 04:07
abhisekp sends brownie points to @saintpeter :sparkles: :thumbsup: :sparkles:
:star: 737 | @saintpeter | http://www.freecodecamp.com/saintpeter
James Fisher
@jamesfisher314
Sep 26 2015 04:24
lol, underscored.