These are chat archives for FreeCodeCamp/HelpJavaScript

25th
Nov 2018
Fabusuyi David Oluwasegun
@dav4thevid
Nov 25 2018 00:19
hi guys please i need help with #Functional Programming: Sort an Array Alphabetically using the sort Method challenge
''' function alphabeticalOrder(arr) {
// Add your code below this line
return arr.sort(function(a,b) {
return a < b;
});
// Add your code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
'''
Adel
@AdelMahjoub
Nov 25 2018 05:55
@dav4thevid Array.prototype.sort
@dav4thevid and don't forget the wiki link https://en.wikipedia.org/wiki/In-place_algorithm
Kaz Baig
@kbaig
Nov 25 2018 09:56
Has anyone here implemented oauth2 into a mern app?
Danny Chan
@chandanny
Nov 25 2018 15:11
Hello
Jason Luboff
@JLuboff
Nov 25 2018 16:55
@kbaig using passport.js, ya.
Pagnito
@Pagnito
Nov 25 2018 17:14
hey does anyone a package for atom that can list down the prototype methods when i type in atom
Pagnito
@Pagnito
Nov 25 2018 20:32
can i ssh into a firebase server?