Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 9 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | (function(){ |
||
2 | var nowOffset = Date.now(); |
||
3 | |||
4 | global.performance = { }; |
||
5 | |||
6 | global.performance.now = function now(){ |
||
7 | return Date.now() - nowOffset; |
||
8 | } |
||
9 | })(); |