We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 166ba91 commit 098a808Copy full SHA for 098a808
index.js
@@ -50,7 +50,7 @@ const player = {
50
],
51
playSong(song) {
52
console.log(`Playing ${song.title} from ${song.album} by ${song.artist} | `
53
- +((Math.floor(song.duration/60))<10? "0": "")+`${Math.floor(song.duration/60)}:${song.duration%60}.`)
+ +((Math.floor(song.duration/60))<10? "0": "")+`${Math.floor(song.duration/60)}:` +((song.duration%60)<10? "0": "")+`${song.duration%60}.`)
54
}
55
56
0 commit comments