Sometimes I write things here: https://writing.markchristian.org
I have built some things over the years. Some of them were pretty okay at the time.
http://isitsociallyacceptabletolistentoalliwantforchristmasisyouyet.com https://somanyfoodtrucks.com https://github.com/shinypb/watchnrun https://github.com/shinypb/feedfilterer http://whimsicalifornia.com/timebar https://shinyplasticbag.com/dragondrop https://shinyplasticbag.com/lidpop http://jbrewer.github.com/Responsive-Measure/ http://ffffallback.com/ http://appcachefacts.info http://openkeyval.org http://www.helpbubble.com/ http://prioritizemywork.com/
A friend of mine recently expressed interest in breaking into the customer success field and asked where they'd start, and I had absolutely no idea what to say. All of the places I've worked now do all of their CE hiring outside of the US.
What would you tell them if you were in my position? If anyone happens to know decent companies willing to take the chance on career-switchers, I'd love to hear about them so I can pass it along.
Thanks!
Implement a function with the following signature:
```` function ifThenElse(cond, trueFn, falseFn) { } ````
If `cond` is truthy, execute `trueFn`, otherwise execute `falseFn`. `ifThenElse` should not have a return value.
Here's a gist that contains a very tiny test harness: https://gist.github.com/shinypb/befb5363395c754758b157b850cf747a
Put your implementations into your own gist and then reply to this thread.
I'm curious to see what sort of horrible atrocities you can all come up with. :) Happy hacking!
PS: Here are my two ideas:
https://gist.github.com/shinypb/85d6dd19e712f4d7962bd4c0cb30dfec
https://gist.github.com/shinypb/78dd126d946bec6cc77245d40d0748cb