This file contains hidden or 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 resourceList = resources.getItemInfo | |
resourceList = resourceList | |
.concat(resources.getImagesPrimary) | |
api.getItemById(['B079JD7F7G'], { | |
parameters: resourceList, | |
condition: condition.Any | |
}).then((response) => { | |
console.log(' ===== find by Item ids =====') | |
console.log('data', response.data) |
This file contains hidden or 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
function fib(num) { | |
let sequence = [0, 1] | |
function helper(sequence, num) { | |
const length = sequence.length | |
// get sum of last two numbers | |
let sum = sequence[length - 1] + sequence[length - 2] |
OlderNewer