Skip to contentSkip to footer
  • Community
  • Jobs
  • Companies
  • Salaries
  • For employers
      Notifications

      Loading...

      Elevate your career

      Discover your earning potential, land dream jobs, and share work-life insights anonymously.

      employer cover photo
      employer logo
      employer logo

      GlobalLogic

      Part of Hitachi

      Engaged employer

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: GlobalLogic reviews | GlobalLogic jobs | GlobalLogic salaries | GlobalLogic benefits | GlobalLogic conversations
      GlobalLogic interviewsGlobalLogic Senior Node Js Developer interviewsGlobalLogic interview


      Glassdoor

      • About / Press
      • Awards
      • Blog
      • Research
      • Contact Us
      • Guides

      Employers

      • Free Employer Account
      • Employer Centre
      • Employers Blog

      Information

      • Help
      • Guidelines
      • Terms of Use
      • Privacy and Ad Choices
      • Do Not Sell Or Share My Information
      • Cookie Consent Tool
      • Security

      Work With Us

      • Advertisers
      • Careers
      Download the App

      • Browse by:
      • Companies
      • Jobs
      • Locations
      • Communities
      • Recent posts

      Copyright © 2008-2026. Glassdoor LLC. "Glassdoor," "Worklife Pro," "Bowls" and logo are proprietary trademarks of Glassdoor LLC.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Bowls

      Get actionable career advice tailored to you by joining more bowls.

      Followed companies

      Stay ahead in opportunities and insider tips by following your dream companies.

      Job searches

      Get personalised job recommendations and updates by starting your searches.

      Top companies for "Compensation and Benefits" near you

      avatar
      GHG Corp
      3.7★Compensation and benefits

      Senior Node Js Developer Interview

      19 Jun 2022
      Anonymous interview candidate
      Noida
      No offer
      Positive experience
      Easy interview

      Application

      I applied online. The process took 7 weeks. I interviewed at GlobalLogic (Noida)

      Interview

      First If your Resume get Shortlisted then TA team will contact you and discusss about your Experience and preferred Date Time of Interview, then online interview via google meet. Total 3 Rounds 1 Coding test 1 Technical Rounds 1 Managerial Round

      Interview questions [1]

      Question 1

      Write a function that will recursively merge two objects with the following conditions: 1.) If a[field] is an array, and b[field] is defined and is not an array, add b[field] to the array 2.) If a[field] is an array an b[field] exists but is undefined or null, set a[field] to an empty array 3.) If a[filed] is an array and b[field] is an array, set a[field] to b[field] 4.) If a[field] exists and b[field] exists but is undefined, delete a[field] 5.) If b[field] is a non-complex type (number, string, boolean, et cetera), copy to a[field] Example: var a = { first_name: 'Bob', last_name: 'Joness', email: 'bob@gmail.com', address: { line_1: '1234 Main St', line_2: 'Apt 413', city: 'Los Angeles', state: 'CA', zip: '90048' }, logins: [ { date: '10/22/2012', ip: '192.168.0.1' }, { date: '10/21/2012', ip: '192.168.0.1' } ], photos: [ 'IMG-1985.jpg', 'IMG-1987.jpg' ] } var b = { last_name: 'Jones', active: true, address: { line_1: '2143 South Main St', line_2: undefined }, logins: { date: '10/23/2012', ip: '192.168.0.1' }, photos: undefined } Result: { first_name: 'Bob', last_name: 'Jones', active: true, email: 'bob@gmail.com', address: { line_1: '2143 South Main St', city: 'Los Angeles', state: 'CA', zip: '90048' }, logins: [ { date: '10/22/2012', ip: '192.168.0.1' }, { date: '10/21/2012', ip: '192.168.0.1' }, { date: '10/23/2012', ip: '192.168.0.1' } ], photos: [] } Assumptions: 1.) You can assume you are working in node; e.g. you have access to array methods such as .some and .forEach, and you do not have to worry about browser compatibility issues 2.) You do not have access to utilities such as lodash or underscore
      Answer question