Detailed Instructions: In this task, you are given a question in English, and your task is to translate it into Persian.
Problem:What's the difference between a promise and a callback in Javascript?
Solution:
چه تفاوتی بین یک promise و یک callback در Javascript است؟