Code AnalysisIntermediate 45s
JWT sign payload
What does jwt.sign return?
Starter code
const token=jwt.sign({userId:42},secret,{expiresIn:'1h'})Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.