Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,630 members, 7,809,348 topics. Date: Friday, 26 April 2024 at 08:06 AM

Heard Of Hack Reactor? Hop In To Solve This Challenge! - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Heard Of Hack Reactor? Hop In To Solve This Challenge! (1007 Views)

Android App Developers Hop In / For Young And Basic Web Development HOP IN / I Need A Smart Programmer To Solve This Logic? (2) (3) (4)

(1) (Reply)

Heard Of Hack Reactor? Hop In To Solve This Challenge! by shapman: 1:38am On Feb 25, 2017
Hack Reactor is an online and a physical platform where they teach hard core programming. Scholarship offer is presently on. To apply follow this link https://admissions.hackreactor.com/#/ . A JavaScript challenge must be completed in order to proceed. The challenge goes like this:

First, declare an array named myArray
Great! Now populate myArray with two strings.
Put your full name in the first string, and your Skype handle in the second.
Next, declare a function named cutName. It should take a string as an argument.
cutName should return an array by breaking up the input string into individual words. For example "Douglas Crockford" should be returned as ["Douglas", "Crockford"]
Make a new empty object literal named myData
Add three key-value pairs to myData, by following these guidelines

fullName : call cutName on the name string stored in myArray
skype : refer to your Skype handle in myArray
github : If you have a github handle, enter it as a string. If not, set this to null

Challenge can be completed on GitHub platform (pretty straight forward)...

So, to JavaScript gurus, kindly post the step by step guide in tackling the challenge.

Thanks and success to all applicants.

(1) (Reply)

A Look Inside Facebook's Data Center : Where All Your Data Is Stored (pictures) / Namecheap Hosting / Entrepreneurs In Software Development.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.