#1 which is better way to compare to enum in java : == , equals, compareTo
Ans: equals vs compare to
``` | |
export * from 'd3-brush'; | |
export * from 'd3-path'; | |
export * from 'd3-shape'; // useful for symbol | |
export * from 'd3-scale'; | |
export * from 'd3-selection'; | |
export * from 'd3-axis'; | |
export * from 'd3-array'; | |
export * from 'd3-chord'; |
#1 which is better way to compare to enum in java : == , equals, compareTo
Ans: equals vs compare to
###>isFinite
> Number.isFinite('123')
false
> isFinite('123')
true
###>isNaN