Class JSCollectionsNormalizeNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.builtins.helper.JSCollectionsNormalizeNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSCollectionsNormalizeNode extends JavaScriptBaseNode
This implements behavior for Collections of ES6. Instead of adhering to the SameValueNull algorithm, we normalize the key (e.g., transform the double value 1.0 to an integer value of 1).
  • Constructor Details

    • JSCollectionsNormalizeNode

      public JSCollectionsNormalizeNode()
  • Method Details