Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tdewolff/minify
/ len
Function
len
_benchmarks/sample_echarts.js:740–742 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
738
return
out;
739
}
740
function
len(v) {
741
return
Math.sqrt(lenSquare(v));
742
}
743
var
length = len;
744
function
lenSquare(v) {
745
return
v[0] * v[0] + v[1] * v[1];
Callers
15
TestDecimalRandom
Function · 0.85
TestNumberRandom
Function · 0.85
DataURI
Function · 0.85
Decimal
Function · 0.85
Number
Function · 0.85
Minify
Method · 0.85
Bytes
Method · 0.85
String
Method · 0.85
TestAdd
Function · 0.85
TestHelperProcess
Function · 0.85
normalize
Function · 0.85
forceLayout
Function · 0.85
Calls
1
lenSquare
Function · 0.85
Tested by
10
TestDecimalRandom
Function · 0.68
TestNumberRandom
Function · 0.68
TestAdd
Function · 0.68
TestHelperProcess
Function · 0.68
benchmark
Function · 0.68
BenchmarkJQuery
Function · 0.68
TestBuffer
Function · 0.68
TestCreateTasks
Function · 0.68
TestBuffer
Function · 0.68
TestBuffer
Function · 0.68