{"id":1397,"date":"2014-11-16T14:52:44","date_gmt":"2014-11-16T06:52:44","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1397"},"modified":"2014-11-16T14:52:44","modified_gmt":"2014-11-16T06:52:44","slug":"javascript-js-%e5%88%a4%e6%96%ad%e4%b8%ad%e8%8b%b1%e6%96%87%e5%ad%97%e7%ac%a6%e7%9a%84%e5%87%86%e7%a1%ae%e9%95%bf%e5%ba%a6-%e4%b8%ad%e6%96%87%e7%ae%972%e4%b8%aa%e5%ad%97%e7%ac%a6","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1397","title":{"rendered":"javascript-js-\u5224\u65ad\u4e2d\u82f1\u6587\u5b57\u7b26\u7684\u51c6\u786e\u957f\u5ea6-\u4e2d\u6587\u7b972\u4e2a\u5b57\u7b26"},"content":{"rendered":"
\r\n\t\/\/\u4e2d\u82f1\u6587\u957f\u5ea6\u7684\u51c6\u786e\u5224\u65ad\r\n\tfunction fucCheckLength(strTemp)\r\n\t{\r\n\t var i,sum;\r\n\t sum=0;\r\n\t for(i=0;i=0) && (strTemp.charCodeAt(i)<=255))\r\n\t sum=sum+1;\r\n\t else\r\n\t sum=sum+2;\r\n\t }\r\n\t return sum;\r\n\t}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":" \/\/\u4e2d\u82f1\u6587\u957f\u5ea6\u7684\u51c6\u786e\u5224\u65ad function fucCheckLength(strTemp) { var i,sum; sum=0; for(i=0;i=0) && (strTemp.charCodeAt(i)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1397"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1397"}],"version-history":[{"count":1,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1397\/revisions"}],"predecessor-version":[{"id":1398,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1397\/revisions\/1398"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1397"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}