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

  • Home
  • SEARCH
  • 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 8493529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:02:17+00:00 2026-06-10T23:02:17+00:00

This is where I’m starting to find static code analysis odd. Google Closure give

  • 0

This is where I’m starting to find static code analysis odd.

Google Closure give me this error

// using dot notation
JSC_INEXISTENT_PROPERTY:

when I use dot notation to access object properties that are dynamically created (i.e. there is no explicit creation of the property )

When I use bracket notation the error goes away but now jshint.com throws an error:

// using bracket notation
['tag'] is better written in dot notation.

I know that these warning/errors are only hints to write better code…but they contradict each other.

Here is the offending line:

vDomTagAdd(bookmark_object.tag);

Related

Extern File Suggestion

  • 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-10T23:02:19+00:00Added an answer on June 10, 2026 at 11:02 pm

    These are two different warnings. Closure thinks that this property doesn’t exists because it can’t find the point where you create it. I assume that you can somehow tell Closure that this property is dynamic and you are certain it exists.

    JSHint simply gives you a stylistic warning that it’s better to use dot-notation unless you absolutely have to use brackets but it doesn’t try to guess if your property is defined.

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

Sidebar

Related Questions

This code below allows me to find the word error in all my files
This code won't compile because there is an illegal reference to a static field.
This is an example of the code am using. I use a modified version
This silverlight code throws an error Cannot invoke a non-delegate type var WshShell =
This is my code: <CheckBox android:id=@+id/sprint_checkbox android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/sprint_game /> <CheckBox android:id=@+id/marathon_checkbox android:layout_width=fill_parent android:layout_height=wrap_content
This works. $(document).ready(function(){ $(.items article).click(function(){ window.location=$(this).find(a).attr(href); return false; }); }); However , when the
This is my sample code: SPWeb web = SPContext.Current.Web SPList list = web.Lists[TestList]; try
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
This question is quite specific. I'm using Symfony2 White October Admin Bundle for generating
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.