Plato on Github
Report Home
node_modules/sax/test/emoji.js
Maintainability
67.02
Lines of code
11
Difficulty
3.75
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
// split high-order numeric attributes into surrogate pairs require(__dirname).test ( { xml : '<a>🔥</a>' , expect : [ [ 'opentag', { name: 'A', attributes: {}, isSelfClosing: false } ] , [ 'text', '\ud83d\udd25' ] , [ 'closetag', 'A' ] ] , strict : false , opt : {} } )