Function

Gjsgjs/systemaddressOf

  • Return the memory address of any object as a string. This is the address of memory being managed by the JavaScript engine, which may represent a wrapper around memory elsewhere. Caution, don't use this as a unique identifier! JavaScript's garbage collector can move objects around in memory, or deduplicate identical objects, so this value may change during the execution of a program.

    Parameters

    • o: object

      Any Object

    Returns string

    A hexadecimal string (e.g. 0xb4f170f0)