This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"location": "53.133403 -6.614839", | |
"ref": 2155, | |
"name": "Ballymore Eustace", | |
"id": 58 | |
}, | |
{ | |
"location": "53.372427 -6.589374", | |
"ref": 2098, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location | ref | name | id | |
---|---|---|---|---|
53.133403 -6.614839 | 2155 | Ballymore Eustace | 58 | |
53.372427 -6.589374 | 2098 | Straffan Road | 05114 | |
53.379542 -6.588915 | 2006 | Straffan Road | 207 | |
53.373099 -6.589307 | 2070 | Straffan Road | 24 | |
53.372577 -6.584618 | 2067 | Celbridge Road | 213 | |
53.126495 -6.580556 | 2215 | Ballymore Road | 470 | |
53.367006 -6.567042 | 2065 | Celbridge Road | 204 | |
53.366647 -6.565877 | 2010 | Celbridge Road | 25 | |
53.377947 -6.553968 | 2095 | Maynooth Road | 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let numbers = [2, 3, 4, 5, 6, 7]; | |
let reducer = (...nums) => nums.reduce((prev, next) => prev + next) | |
let total = reducer(numbers) | |
console.log(`Your lucky number is: ${reducer(1,2,3) + 10}`) | |
console.log(`The total is ${total}`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.multiply = function (number, cb){ | |
setTimeout(function(){ | |
var result = number * 7; | |
//console.log( number * 7) | |
if (number == 6){ | |
return cb("6 is not allowed", null) | |
} | |
cb(null, result); | |
},1000); | |
} |