Home
dup
dup2
dupn
dup2
Duplicate Two Objects
The
dup2
function duplicates two objects on the stack, as follows:
obj
1
obj
2
->
obj
1
obj
2
obj
1
obj
2