Last active
January 7, 2016 00:03
-
-
Save mraleph/6a2e471233a893ffbdda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.keys({a:1}) ---------------------- | |
DebugPrint: 0x4c012f99: [JSObject] | |
- map = 0x5f30a2e1 [FAST_HOLEY_ELEMENTS] | |
- prototype = 0x24976009 | |
{ | |
#length: 0x24962489 <ExecutableAccessorInfo> (accessor constant) | |
0: 0x2492fdb1 <String[1]: a> | |
} | |
0x5f30a2e1: [Map] | |
- type: JS_ARRAY_TYPE | |
- instance size: 16 | |
- inobject properties: 0 | |
- elements kind: FAST_HOLEY_ELEMENTS | |
- unused property fields: 0 | |
- stable_map | |
- back pointer: 0x5f30a2b5 <Map(FAST_ELEMENTS)> | |
- instance descriptors (own) #1: 0x249768b5 <FixedArray[5]> | |
- prototype: 0x24976009 <JS Array[0]> | |
- constructor: 0x24975ee9 <JS Function Array (SharedFunctionInfo 0x249609e9)> | |
- code cache: 0x2490809d <FixedArray[0]> | |
- dependent code: 0x2490809d <FixedArray[0]> | |
['a'] ----------------------------------- | |
DebugPrint: 0x4c0133f5: [JSObject] | |
- map = 0x5f30a2b5 [FAST_ELEMENTS] | |
- prototype = 0x24976009 | |
{ | |
#length: 0x24962489 <ExecutableAccessorInfo> (accessor constant) | |
- transitions | |
"elements_transition_symbol": (transition to FAST_HOLEY_ELEMENTS) -> 0x5f30a2e1 <Map(FAST_HOLEY_ELEMENTS)> | |
0: 0x2492fdb1 <String[1]: a> | |
} | |
0x5f30a2b5: [Map] | |
- type: JS_ARRAY_TYPE | |
- instance size: 16 | |
- inobject properties: 0 | |
- elements kind: FAST_ELEMENTS | |
- unused property fields: 0 | |
- back pointer: 0x5f30a289 <Map(FAST_HOLEY_DOUBLE_ELEMENTS)> | |
- instance descriptors #1: 0x249768b5 <FixedArray[5]> | |
- transitions #1: 0x2497689d <FixedArray[4]> | |
"elements_transition_symbol": (transition to FAST_HOLEY_ELEMENTS) -> 0x5f30a2e1 <Map(FAST_HOLEY_ELEMENTS)> | |
- prototype: 0x24976009 <JS Array[0]> | |
- constructor: 0x24975ee9 <JS Function Array (SharedFunctionInfo 0x249609e9)> | |
- code cache: 0x24988309 <CodeCache> | |
- dependent code: 0x2490809d <FixedArray[0]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//print(%HaveSameMap(['a'], Object.keys({a:1}))); | |
print("Object.keys({a:1}) ---------------------- "); | |
%DebugPrint(Object.keys({a:1})); | |
print("\n['a'] ----------------------------------- "); | |
%DebugPrint(['a']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment