博客
关于我
JavaScript简单数据类型和复杂数据类型
阅读量:391 次
发布时间:2019-03-05

本文共 130 字,大约阅读时间需要 1 分钟。

一,简单数据类型和复杂数据类型

在这里插入图片描述

二,堆和栈

在这里插入图片描述

三,数据类型的内存分配及传参

在这里插入图片描述

1.简单数据类型

-内存分配

存放在栈里面,里面直接开辟一个空间存放值

在这里插入图片描述

- 传参

在这里插入图片描述

2.复杂数据类型

-内存分配

先在栈里面存放地址(十六进制表示),然后这个地址指向堆里面的数据

在这里插入图片描述

- 传参

在这里插入图片描述

转载地址:http://ijxwz.baihongyu.com/

你可能感兴趣的文章
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>