Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var pointsMap = {
- 0: 'Love-All',
- 1: 'Fifteen-All',
- 2: 'Thirty-All',
- 'default': 'Deuce'
- };
- function callTie(points) {
- return pointsMap[points] || pointsMap.default;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement