본문 바로가기

Personal record <정리중>/Algorithm note13

JS - wrapper object wrapper object (linked to prototype, heritage) Caution: Some of them may be incorrect. Read at your own risk. Note: it is about the difference of 'where to store the value', and 'temporary', 'primitive'. Scanning for its object with the method I input to refer it accordingly. This is kind of 'temporarily use the Primitive things like method.' Once I approach to some method with Primitive, const .. 2021. 7. 7.
JS - switch Why I use this? - To group up (or wrap up) a number of string characters to print out a singularly indicated result. Personal note: So this switch belongs to prototype. Hint: The switch statement evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case, as well as statements in cases that follow the matching case. Bit more: A sw.. 2021. 7. 6.
[Node.js] - what is readline() modul? My initial sight: Looks like readline() is called module, and this can be used as a tool to read the data from *readable streams. Note: *Readable streams are an abstraction for a source from which data is consumed. (e.g. process.stdin) Why I searched for this module? To understand the purpose of using this module from JS problem & solving question. To access some data by using readline, const re.. 2021. 7. 6.
[JS] string includes() method output : true 1. This is an instance to use as a checker from the existing data. In this case, includes() method belongs to var str. As 'Geeks' string characters does exist on that var str, the outcome regarding this variable will output : true. Further info: Syntax:string.includes(searchvalue, start) Parameters Used: search value: It is the string in which the search will take place. start: Thi.. 2021. 7. 6.