Sign in

Photo by Math on Unsplash




Var

Scope

var a = 2; // globally scoped variablefunction foo() {
console.log(a);
}
foo(); // prints out 2console.log(window.a); // prints out 2


https://api-id.execute-api.region.amazonaws.com/stage




  1. Login IAM, select Roles under Access management in the left sidebar, click on the Create role button.

Wenhe Qi

A lifelong learner who has enthusiasm for sharing knowledge; a developer who loves bringing ideas to life.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store