typeof查看的数据类型:
1.值型:number,string,boolean,undefined
2引用型:object([],{})
3.函数:function
ajax
跨域问题,源自于同源策略,而同源策略包括为ip,域名,端口
ajax解决跨域问题的三种方式:1.jsonnp,2.http header
typeof查看的数据类型:
1.值型:number,string,boolean,undefined
2引用型:object([],{})
3.函数:function
ajax
跨域问题,源自于同源策略,而同源策略包括为ip,域名,端口
ajax解决跨域问题的三种方式:1.jsonnp,2.http header