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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:28:26+00:00 2026-06-02T23:28:26+00:00

In the chrome developer console, type $x.toString() ( $x is one of the built-in

  • 0

In the chrome developer console, type $x.toString() ($x is one of the built-in functions of the dev tools console). The output looks like this:

"bound: function (xpath, context)
    {
        var doc = (context && context.ownerDocument) || inspectedWindow.document;
        var result = doc.evaluate(xpath, context || doc, null, XPathResult.ANY_TYPE, null);
        switch (result.resultType) {
        case XPathResult.NUMBER_TYPE:
            return result.numberValue;
        case XPathResult.STRING_TYPE:
            return result.stringValue;
        case XPathResult.BOOLEAN_TYPE:
            return result.booleanValue;
        default:
            var nodes = [];
            var node;
            while (node = result.iterateNext())
                nodes.push(node);
            return nodes;
        }
    }"

What is the meaning of “bound: “, in the first line?

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

    $x is a builtin function in webkit Developer Tools’ console, like $, $$ and others. The CommandLineAPI (used for console script evaluation) overwrites all the console methods’ toString functions to include the "bound: " prefix:

    function bind(thisObject, memberFunction)
    {
        var func = memberFunction;
        var args = Array.prototype.slice.call(arguments, 2);
        function bound()
        {
            return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0)));
        }
        bound.toString = function() {
            return "bound: " + func;
        };
        return bound;
    }
    

    A full list of console functions wrapped this way can be found here.

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

Sidebar

Related Questions

When I open the Chrome Developer Tools JavaScript console to get a REPL, the
I get this behavior in both Chrome (Developer Tools) and Firefox (Firebug). Note the
I do a lot of my work from Chrome's developer tools console and firebug
Possible Duplicate: Bizarre console.log behaviour in Chrome Developer Tools Given the following script :
I've just started using the console in Chrome Developer Tools (pretty new to Javascript
I need to block tools like Firebug and Chrome Developer Tools in a specific
Whenever I use Console in Chrome's Developer Tools or Firebug to interpret a jQuery
Is there a good resource on using console of Google chrome developer tools. I
I'd like to use the Chrome developer console to look at variables and DOM
Im switching from firebug to Google Chrome developer tools. I like it so far,

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.