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 8324191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:58:20+00:00 2026-06-08T23:58:20+00:00

I was reading ECMA 5 262, and feel confused on the term strict reference

  • 0

I was reading ECMA 5 262, and feel confused on the term “strict reference” in http://es5.github.com/#IsStrictReference:

A Reference is a resolved name binding. A Reference consists of three components, the base value, the referenced name and the Boolean valued strict reference flag. The base value is either undefined, an Object, a Boolean, a String, a Number, or an environment record (10.2.1). A base value of undefined indicates that the reference could not be resolved to a binding. The referenced name is a String.

There’s not much description on it. The only related operation on Reference is

IsStrictReference(V). Returns the strict reference component of the reference V.

but no operation to set, neither description how we can decide the value.

I guess it must be related to the strict mode, but how can i tell what’s the value for a specific Reference?

  • 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-08T23:58:22+00:00Added an answer on June 8, 2026 at 11:58 pm

    As far as I understand, it’s a property for references set to true when using references with strict mode in ECMAScript 5 (aka ES5) initialized. When strict mode is set, more operations will lead to errors (syntax, reference, for example initializing a variable without the var keyword). See the MDN-documentation for more on strict mode.

    [edit] based on comment
    I think it’s for the scope where strict mode is defined. So in

    function strict()
    { 'use strict';
      // from here on and within the function
      // IsStrictReference is true
      showme = "Am I defined?";
      return "Hi!  I'm a strict mode function!  " + showme;
    }
    
    function nonstrict()
    { 
      // IsStrictReference is ... well, undefined I suppose, or false by default
      showme2 = "Am I defined?";
      return "Hi!  I'm NOT a strict mode function!  " + showme2;
    }
    strict(); //=> ReferenceError: showme is not defined
    notstrict(); //=> "Hi!  I'm NOT a strict mode function! Am I defined?"
    

    Executing strict() throws a ReferenceError, but nonstrict() doesn’t. If you had placed the use strict-statement outside the function blocks, executing both functions would throw a ReferenceError.

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

Sidebar

Related Questions

Reading the section Zend_Application_Resource_Modules in the docs here: http://framework.zend.com/manual/1.10/en/zend.application.available-resources.html I noticed this: You can
Reading this list of Chrome match patterns: http://code.google.com/chrome/extensions/match_patterns.html How do I specify a match
Reading the article on http://www.jamesward.com/2011/08/23/war-less-java-web-apps on how to embed an app server with your
Reading manual about Sling http://sling.apache.org/site/46-line-blog.html added folder blog and blog.html to destination: \launchpad\content\src\main\resources\content\ but
Reading the MCIMX50 Application Processor Reference Manuals on page 1368 (Section 33.3) there is
I'm building a JavaScript parser and there seem to be some differing opinions. ECMA-262
Reading the Redis documentation on Virtual Memory at: http://redis.io/topics/virtual-memory With regards to vm-max-threads they
reading this https://developers.google.com/in-app-payments/docs/tutorial Quoted from the above page: Because you sign the JWT using
Reading the documentation at http://jersey.java.net/nonav/documentation/latest/client-api.html#d4e704 makes me think that ClientFilter s are processed in
Reading this: http://guides.rubyonrails.org/routing.html#adding-more-restful-actions What does it mean to add a 'member route'? or do

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.