Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactjs/react-rails
/ toHex
Function
toHex
lib/assets/javascripts/JSXTransformer.js:1640–1643 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
1638
}
1639
1640
function
toHex (n) {
1641
if
(n < 16)
return
'0'
+ n.toString(16)
1642
return
n.toString(16)
1643
}
1644
1645
function
utf8ToBytes (string, units) {
1646
units = units || Infinity
Callers
1
hexSlice
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected