Created
June 16, 2017 04:39
-
-
Save itzsaga/9e533c8b55a6225aed8904617278a101 to your computer and use it in GitHub Desktop.
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 itemsValues | |
$(() => { | |
$.getJSON('/items.json', function (data) { | |
itemsValues = $.map(data, function (e) { | |
return e.id | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment