NodeJS/Javascript Help to implement a function which result depending of different criteria


This project is for someone which can help via TeamViwer/AnyDesk and on a budget of 50E in case to discuss if there are solid reasons to change.

The issue I have is about this

[login to view URL]

I have to build a function which takes 2 params and on that return based on criteria:

My trying

[login to view URL]


// 1. is default, same country, active

// 2. is default, same country, inactive

// 3. is default, any country, active

// 4. is default, any country, inactive

// 5. sites(active).length === 1

// 6. undefined

The result of this function is a siteId based on those criteria.

Number 5 means if default is false every where but we have one active site and we choose that one

Number 6 is just a return in case no one of the criteria is fulfill means an empty result {}

Sites is an array of OBJ

[login to view URL]

In this OBJ example is missing status which can be ACTIVE or INACTIVE I forgot to result it when I copy/paste.

What I need a solution to those criteria based on that array of OBJ and locale data.


Evner: JavaScript, Node.js

Se mere: javascript mouse popup function, javascript scroll box mysql result, javascript database search function, javascript age determine function, indesign javascript help, quick javascript help coder, javascript aspnet mouseover function, javascript todays date function adobe field, need javascript help fix, div javascript code implement plus minus collapse expand, javascript date age function, ccbill help implement payment, javascript website search function, javascript dump cookies function, implement function excel, javascript add attribute function, javascript age years function, javascript ajax bing search result, javascript help function

Om arbejdsgiveren:
( 25 bedømmelser ) København, Denmark

Projekt ID: #28367143

15 freelancere byder i gennemsnit €90 timen for dette job


Hey, I assure you I can help you with this! I am a confident NodeJS developer with 10+ years experience! I have knowledge in other tech stacks also but as you required Senior NodeJS developer , I'm sharing my past work Flere

€140 EUR in 7 dage
(22 bedømmelser)

Hello ! When reviewing the job description, I felt I was a great fit for this role. I have extensive knowledge of front-end JavaScript and browser APIs as well as significant experience with popular frameworks and libr Flere

€140 EUR på 1 dag
(9 bedømmelser)

Dear Client I read your description and can know that you want a Web/Node.js expert. As a Senior developer, I have over 5 years of rich experience by developing with Node.js([login to view URL], Vue.js, Angular.js), Python, PH Flere

€100 EUR in 7 dage
(7 bedømmelser)

HI, i can help you to create that function. please come over chat and discuss in some details. Thanks.

€50 EUR på 1 dag
(10 bedømmelser)

Hi Jakub, I am experienced in node js too and you are already familiar with my problem solving abilities. I can definitely help you in your budget. Let's begin!

€50 EUR på 1 dag
(29 bedømmelser)

hi mate, I am professional freelancer, I have worked with "heavenya" as the backend developer, I have worked with API's endpoint(node js +express+ mongo db) and socket's event(socket io) as well. I have seen the code a Flere

€40 EUR på 1 dag
(8 bedømmelser)

Hi there, I have 4+ years of experience developing web applications and APIs with various tools and technologies. I can write a function which returns the expected result. Drop me a message to get started. Thanks

€50 EUR på 1 dag
(5 bedømmelser)

Hello, My understanding is you want to check values progressively to get final value based on the condition on previous values. I can help you achieve this. Please ping for further details. Thanks.

€100 EUR på 1 dag
(7 bedømmelser)

Hi I checked your description, I guess you just want to implement a if-else clause to return different result. Although I'm not clear what siteId you gonna return base on different condition. But what you can do is usi Flere

€50 EUR in 3 dage
(1 bedømmelse)

Hi i've red your pastebin and post still need more explanation you have list of countries you want to filter them out based on 2 params i need flowchart of critea conditions you can tell them to me in message i'm sen Flere

€50 EUR in 2 dage
(2 bedømmelser)

Hello Client I am ready to work on your project I have rich experience with Nodejs I can do your project perfectly If you have any opinion, please let me know on chat I hope you are fine always Thanks

€200 EUR in 5 dage
(1 bedømmelse)

Hi I am a Mean and Mern stack developer, and worked on several e-commerce projects. I have hands experience with building Restful Api, making logic controllers. I have read your requirement and found my skill set f Flere

€70 EUR in 2 dage
(0 bedømmelser)

Hello, I have read your job details and criteria and understand the requirements necessary for this project. I have solid experience of the stack of technologies required for this project. I have bit questions accord Flere

€200 EUR in 7 dage
(0 bedømmelser)

hi, I already did this. but you need to test my code. :3

€70 EUR på 1 dag
(0 bedømmelser)

I have carefully looked at your skill requirements and every aspect of your project matches my currently working skillset and therefore I am applying for this [login to view URL] will find me highly qualified in completing your gi Flere

€40 EUR in 7 dage
(0 bedømmelser)