Note 1: Elementary, stumbling blocks (java, javascript)

A memo of what I stumbled upon as a beginner engineer and what I wanted to know early

Personal notes, and for those who are really beginners

eclipse debug mode

When you run a program, you can pause the process at a breakpoint (like a stop point you set yourself). Since you can check the contents of the variables when you stop, you can check how the built program works.

(reference) https://ittoybox.com/archives/341

Developer tools

Appears in F12 for IE and Chrome. You can debug DOM, network (request, response result) and javascript running on the browser. You can also write CSS with DOM Explorer, and you can check the layout elements such as character color and size on the spot, so be sure to use it when designing the screen. Debugging can be performed by inserting breakpoints as in eclipse above. Of course, the appearance is different for each browser, so be careful.

(Reference) * About Chrome developer tools https://www.buildinsider.net/web/chromedevtools/01

Java pass by reference, pass by value

The point is how to pass it as an argument, but many people will stumble. In conclusion, java is passing a "reference value" = passing a "reference value" by value.

(Reference) Among the various things I saw, it was personally straightforward and easy to understand. https://qiita.com/mdstoy/items/2ef4ada6f88341466783

Object, property (javascript)

The properties of the object "dog" are "name", "age", and "breed". It can be accessed by object name.property name. You can get as much information as you want by searching around here. https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Objects_and_Properties

It's not limited to javascript, but when talking about objects and properties, I'm sure you will see the following keywords, so I want to keep them in mind. keyword ・ Global variables, local variables ·scope ·closure

Recommended Posts

Note 1: Elementary, stumbling blocks (java, javascript)
Java and JavaScript
Java abstract modifier [Note]
Java JUnit brief note
[java] Java SE 8 Silver Note
[Note] Java: String search
[Note] Java: String survey
My Study Note (Java)
java: Add date [Note]
A note about Java GC
Try calling JavaScript in Java
(Note) Java classes / variables / methods
[Java] [Spring] Spring Boot 1.4-> 1.2 Downgrade Note
Study Java with Progate Note 1
JavaScript as seen from Java