These are chat archives for dcsan/gitterbot

12th
Sep 2015
yejinjian
@yejinjian
Sep 12 2015 11:40
This message was deleted
neo
find js
CamperBot
@camperbot
Sep 12 2015 11:42

find js

:zero: js fundamental
:one: js resources
:two: zipline use the twitchtv json api
:three: js arguments
:four: js closures
:five: js falsey
:six: js filter
:seven: js for in
:eight: js for of
:nine: js for
:one::zero: js immutable
:one::one: js indexof
:one::two: js loops
:one::three: js map
:one::four: js regex
:one::five: js slice
:one::six: js ternary
:one::seven: js truthy
:one::eight: js undefined
:one::nine: jsonp

limited to first 20 entries.
type find js again for more enteries.

yejinjian
@yejinjian
Sep 12 2015 11:42
10
CamperBot
@camperbot
Sep 12 2015 11:42

:point_right: js immutable [wiki]

Immutable means unchangeable i.e. you can't change.

Javascript has lots of immutable types e.g. string primitive type. Try this in your console.

s = "red";
console.log(s[1]); //→ "e"
s[1] = "x";
console.log(s) //→ "red"

the s didn't change! WAT!

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

yejinjian
@yejinjian
Sep 12 2015 11:42
sos
yejinjian
@yejinjian
Sep 12 2015 12:14
This message was deleted
Abhisek Pattnaik
@abhisekp
Sep 12 2015 15:32
@dcsan I'm sorry! I'm bit busy with the ziplines. Please pardon me for the delay.