data-structures

WeightedEdge

Class

Members

weight

number

A method that converts a WeightedEdge object to a corresponding primitive value. Called by the ToPrimitive abstract operation.

@paramhintany
@returns
  • If hint = number, it will return the edge weight
  • If hint = string, it will return the edge tag