Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8036077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:29:59+00:00 2026-06-05T02:29:59+00:00

Could you please explain me the following. Trying to compare object attributes: newName of

  • 0

Could you please explain me the following. Trying to compare object attributes: newName of the v and rowData objects. Got back values report3 and report2, however on comparison (rowData.newName === v.newName) these values are equal??!! Please refer to the console message below

Values are strings, belong to different objects.

console.log('== NEW NAME OF THE VALE OF TABLE ==');
console.log(v.nameNew); // which is report3
console.log('== NEW NAME OF THE DATA OF THE ROW ==');
console.log(rowData.nameNew); // which is report2
console.log('== IDIOT PROOF TEST ');
console.log(rowData.newName === v.newName);

CONSOLE LOG:

== NEW NAME OF THE VALE OF TABLE ==
Report3
== NEW NAME OF THE DATA OF THE ROW ==
Report2
== IDIOT PROOF TEST
true
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:30:01+00:00Added an answer on June 5, 2026 at 2:30 am

    Not sure if you mistyped it but you log

    console.log(v.nameNew);
    

    You then compare

    v.newName
    

    If you made a mistake and are actually comparing the right variables, can you post more code (how you are declaring them and assigning them)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would appreciate if someone could help/explain the following please. I am trying to
Could someone please explain why 'this' in the following points to the DOM Object
Could anyone please explain the following line of code, found on http://docs.openttd.org/ai__cargo_8cpp_source.html return (AICargo::TownEffect)::CargoSpec::Get(cargo_type)->town_effect;
Could someone please explain the difference between the following two lines of code: 1.
Could you please explain the following behavior of C# Class. I expect the classResult
Could someone please explain to me why the following query is invalid? I'm running
Could someone please explain the Objective-C difference between myString and anotherString in the following
Could someone please explain the following compiler error to me: struct B { };
Could someone please explain why following program will output 4,6 instead of 4,4. MainProgram()
Could you please explain me the reason of the following situation. Today I wrote

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.