2dup ( x y -- x y x y )
Factor handbook > The language > Shuffle words

Prev:dup ( x -- x x )
Next:3dup ( x y z -- x y z x y z )


Vocabulary
kernel

Word description
Shuffle word. Rearranges the top of the datastack as indicated in the stack effect pattern.

Definition

PRIMITIVE: 2dup ( x y -- x y x y )