GitHub 博客园 Nanakon

查找

1.JavaScript字符串

2.JavaScript数组

var readyState = 'loaded'
if (readyState == 'loaded' || readyState == 'complete') console.log('onload')

var rreadyState = /complete|loaded/
if (rreadyState.test(readyState)) console.log('onload')

if (~['complete', 'loaded'].indexOf(readyState)) console.log('onload')

 

3.JavaScript对象

posted on 2016-11-16 13:41  jzm17173  阅读(93)  评论(0编辑  收藏  举报

导航

轻音