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 generateContent() { | |
console.log('generating content') | |
var map; | |
var userLocation = getLocation(); | |
var mapOptions = { | |
zoom: 12, | |
center: userLocation | |
} | |
console.log(mapOptions.center); | |
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); |
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
import java.util.ArrayList; | |
public class PermutationGenerator { | |
public static void main(String[] args) { // entry point for the program | |
for(int i=1; i<=10; i++) { // outer loop, this is going to run 10 times | |
ArrayList<Integer> numbers = new ArrayList<Integer>(); // creates an empty arraylist of integers inside the outer loop | |