What do you want to save?
Add Code snippet
New code examples
-
Other 2021-08-29 21:56:02
how to decode jwt token client side
let b64DecodeUnicode = str => decodeURIComponent( Array.prototype.map.call(atob(str), c => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2) ).join('')) let parseJwt = token => JSON.parse( b64DecodeUnicode( token.... Add solution -
Javascript 2021-08-28 02:24:01
how to write a program that alerts the current month in words in javascript
var currentDate = new Date(); currentDate.toString; var b = currentDate.toString(); var c = b.slice(4,7); if (c === "Jan"){ document.write("Current month: January") }else if(c === "Feb"){ document.write("Current ... Add solution
Best helpers
Ranking is empty