MCPcopy
hub / github.com/javascript-obfuscator/javascript-obfuscator / log

Function log

test/fixtures/compile-performance.js:61968–61979  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

61966 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
61967 };
61968 var log = function(x){
61969 var n = 0
61970 , x2 = x;
61971 while(x2 >= 4096){
61972 n += 12;
61973 x2 /= 4096;
61974 }
61975 while(x2 >= 2){
61976 n += 1;
61977 x2 /= 2;
61978 } return n;
61979 };
61980
61981 $export($export.P + $export.F * (!!$toFixed && (
61982 0.00008.toFixed(3) !== '0.000' ||

Calls

no outgoing calls

Tested by

no test coverage detected