Home > front end >  Obj. Name pointing to the problem
Obj. Name pointing to the problem

Time:10-07

 var obj={
Name: "Yang",
}
The console. The log (obj. Name);

Want to ask the obj here. The name is pointed to the value of the memory address or heap inside the Internet to see is a memory address or don't understand.

CodePudding user response:

Pointing to the memory address
String is an object, not the basic variables, so the name of the memory is not stored literal content directly, but to save the object's address
  • Related