typeof查看的数据类型:

1.值型:number,string,boolean,undefined

2引用型:object([],{})

3.函数:function

ajax

跨域问题,源自于同源策略,而同源策略包括为ip,域名,端口

ajax解决跨域问题的三种方式:1.jsonnp,2.http header

相关链接:https://blog.csdn.net/u014727260/article/details/72793459

简单的ajax实现

 

posted on 2021-09-04 17:34  topass123  阅读(15)  评论(0编辑  收藏  举报