Sign in

Photo by Math on Unsplash
void foo(String bar) {
for(char c : bar.toCharArray()) {
System.out.println(c);
}
}
void foo(String bar)…



Approach 1: Brute Force


Var

Scope

var a = 2; // globally scoped variablefunction foo() {
console.log(a);
}
foo(); // prints out 2console.log(window.a); // prints out 2
var a = 2; // globally scoped variablewindow.b = 3; // new property of window object, also globally scopeddelete a; // returns falsedelete…


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


Create a Gatsby Site

# create a new…

https://www.dummy.com/
https://www.dummy.com/?key=API_KEY&field1=value1&field2=value2

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