Casual interjection borrowed from German 'ja', used in informal or playful contexts to express agreement.
from German ja
「これ、手伝ってくれる?」「ヤー、いいよ。」
"Can you help me with this?" "Yeah, sure."
Borrowed from German 'ja' (yes). Used as a casual, often playful interjection in Japanese.