Terminé

two functions on js/es for nodejs

You must have source code writed by you, to show me before work.

task 1.

* given array [{prefix:'AA'},{prefix:'AB'}]

* given string for example 'ability'

Create a function that generate unique pefix for given string by first letters (for 'ability' prefix will be `AB`, for 'data' prefix is 'DA'),

prefix must be unique which mean it not exists in given array.

- it check array and if prefix already `AB` exists it increment generated prefix and check array again until not found unique (free) prefix which is not exists in array.

where increment mean AB become AC, AC become AD, ... AZ become BA, ZZ become AA like we use letters A-Z instead of digits 0-9

task 2

* given data array [{color:'AA'},{color:'AB'}], let say `data`

* array of colors, let say `colors` array

Create a function which:

* make copy of `colors` array (using slice), let say `carray`

* remove each color in `carray` if it exists in given `data` array

* if `carray` is not empty return random color from it,

* else return random color from `color array`,

if tasks done nore we will continue work togather in future

for task 2 given data array is [{color:'aaffcc'},{color:'5522ff'},...] color values will be provided

Compétences : Javascript, node.js

en voir plus : can you use a graphic designer for clothing print, we are looking for people who can convert psd into html files for us you must also be able to work within a tight deadline and m, if you want to be able to use a presentation with an older version of powerpoint you can save it by using the powerpoint 97 2003, question to all of you esp to guys in it i have a ms office cd with an indian key which microsoft is not allowing me to activate, write apostcard or email to friend say what you have been doing and what the place is like use words like first and so next then, can you use a calculator on the praxis, can you use a debit card as a credit card, can you use a joystick in freelancer pc, how do you use a search engine to search for information on the web, imagine you are living in germany in 1930 write a letter to the press 150 words explaining why the nazis would be good for germa, imagine you are living in germany in 1930 write a letter to the press explaining why the nazis would be good for germany mention, imagine you have already made your holiday plans write a paragraph of 8 line place time activities, im looking for a site where you can place advert for tender and get a quotation, when writing you can most effectively use a dash, write you are going to write an article for a school for magazine suggesting practical ways in which we could all save energy, writing imagine that you have no roof to sleep under develop a three paragraph composition whereby you describe the sort of life, you and your family went on holiday write a speech 200 250 words, you are required by your manager to write a detailed report on website design your, .net framework 4.0 source code download

Concernant l'employeur :
( 2 commentaires ) Voronezh, Russian Federation

Nº du projet : #18126859

Décerné à:

FahadMdKhan

Hi Dear Client I have read the description andI am interested in your project. I am a professional software developer. I can do this task for you. I can start working right now. Sample apps will be provide on reque Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% AUD en 2 jours
(0 Commentaires)
0.0

3 freelance font une offre moyenne de $33 pour ce travail

furkanjl

Hi, I've read your requirements. I'm a node.js expert and I can do both of those tasks pretty quickly. If you send me a PM we can talk about the details.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 2 jours
(11 Commentaires)
4.8
Ja1na

Although This is my first project in JS, Hope I can help you better with my programming skills

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)
0.0