Creates a new node setting its value and key to the given parameters. The value is the value it contains, the key is the identifier used to find it in the list it’s attatched to.
- value – A value to put in the new node.
- key (number) – A key for the new node.
The new list node.