(x)
| 1 | 'use strict'; |
| 2 | |
| 3 | function sign(x) { |
| 4 | return ( |
| 5 | x < 0 ? -1 : |
| 6 | x > 0 ? 1 : 0 |
| 7 | ); |
| 8 | } |
| 9 | |
| 10 | // adapted from Mike Bostock's https://observablehq.com/@mbostock/smith-chart |
| 11 | function smith(a) { |
no outgoing calls
no test coverage detected
searching dependent graphs…