实例![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/df22c22e1874c8e0b3a9f7e8797ac216.png)
function _0x300acc(_0x186d2c) {
return new Date()[$_0x4172('\x30\x78\x61\x63', '\x76\x65\x74\x64') + $_0x4172('\x30\x78\x61\x38', '\x54\x50\x66\x41') + '\x66']();
}
这个可以获取到时间戳
原因:下面这段代码是字符串“valueOf”,
$_0x4172('\x30\x78\x61\x63', '\x76\x65\x74\x64') + $_0x4172('\x30\x78\x61\x38', '\x54\x50\x66\x41') + '\x66'
例子中就是下面扩展的第三种方式
扩展:获取到时间戳的几种方式
1.Date.parse(new Date())
var timestamp = Date.parse(new Date())
2.(new Date()).valueOf()
var timestamp = (new Date()).valueOf()
3.new Date()['valueOf']()
var timestamp = new Date()['valueOf']()
4.new Date().getTime()
var timestamp = new Date().getTime()