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
This is a shuffle word, rearranging the top of the datastack as indicated by the word's stack effect: ( x y -- x y x y ).

Definition

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