You’re right, this is very much impossible in any sane way, since only the value gets passed into the function.
More Related Contents:
- JavaScript charAt problem that I can’t seem to answer correctly [duplicate]
- Which equals operator (== vs ===) should be used in JavaScript comparisons?
- “Thinking in AngularJS” if I have a jQuery background? [closed]
- Managing jQuery plugin dependency in webpack
- How to determine if Javascript array contains an object with an attribute that equals a given value?
- How do I use namespaces with TypeScript external modules?
- How to update an “array of objects” with Firestore?
- A CORS POST request works from plain JavaScript, but why not with jQuery?
- Removing or replacing a stylesheet (a ) with JavaScript/jQuery
- How do you get the cursor position in a textarea?
- Matching a Forward Slash with a regex
- Google Maps JavaScript API RefererNotAllowedMapError
- javascript | Object grouping
- Why do we need to install gulp globally and locally?
- Can jQuery read/write cookies to a browser?
- How to format a Date in MM/dd/yyyy HH:mm:ss format in JavaScript? [duplicate]
- Open a new tab/window and write something to it?
- how to block website from loading in iframe?
- comparing ECMA6 sets for equality
- Detect if the iframe content has loaded successfully
- How to pass a javascript variable into a erb code in a js view?
- How do sessions work in Express.js with Node.js?
- Why is process.env.NODE_ENV undefined?
- How do I find out how many times a function is called with javascript/jquery?
- NVD3 – How to refresh the data function to product new data on click
- Firebase retrieve child keys but not values
- How do you make images load lazily only when they are in the viewport?
- set withCredentials to the new ES6 built-in HTTP request API : Fetch
- Visual Studio Code Intellisense not working for Javascript
- Is there a workaround for the Firebase Query “IN” Limit to 10?