
JS
自驱
ALOHA HEJA HE
展开
-
【技能库】--JS时间处理(251)
var date1 = new Date(); var departure = "2017-07-06 21:20:00"; var date2 = new Date('2017-07-07 10:00:00'); var date3 = new Date(departure); var date1ms = date1.getTime(); var date2ms = date2.getTime(原创 2017-07-06 20:55:13 · 371 阅读 · 0 评论 -
【Node.js】node js 基础完美实例
1.Introduction JavaScripts typically run under a web browser (such as Chrome, Firefox). Node.js is a JavaScript engine that allows you to run JavaScript in standalone manner, without using a browse...转载 2019-05-14 12:33:49 · 214 阅读 · 0 评论 -
【chrome】发起跨域请求
command+option+J //chrome mac console 运行代码: var invocation = new XMLHttpRequest(); var url = 'https://xxx.com/api/www/v1?habid=1573864&source=2'; function callOtherDomain() { if(invocation...原创 2019-07-13 01:15:07 · 471 阅读 · 0 评论