본문 바로가기

전체 글

Array nesting, concat, spread Nesting const arr1 = [q,w,e] const arr2 = [r, t, y] arr1.push(arr2) arr3 = [arr1, arr2] arr1.concat(arr2) arr = [...arr1, ...arr2] arr.flat() arr.isArray() Array.from('12345') Array.of(a, b, c) 더보기
array method const arr = [1,2,3,4,5] arr.push(6) arr.pop() arr.unshift(0) arr.shift() arr.include(1) arr.indexOf(2) arr.alice(1.4) arr.splice(1.4) arr.splice(1,4).reverse().toString().charAt(1) 더보기
바리스타 실습 1. 포터필터를 꺼내서 딱는다. 2. 포터필터에 커피 가루를 담는다. 3. 포터필터위의 커피가루를 정리한다. 4. 포터필터에 댐퍼를 가지고 댐핑한다. 5. 포터필터를 그룹헤드에 장착한다. 6. 커피를 25초정도 내린다. 7. 우유를 스팀피처에 200미리정도 담는다. 8. 스팀피처의 우유를 스팀노즐에 넣고 거품을 낸다. 9. 커피에 우유를 붓는다. 더보기
Dates Times Let d = new Date() d = date.now() let d d = new Date() d = Date.now() d = d.getTime() d = d.valueOf() onsole.log(d) console.log(d) 더보기
Data Types Primitive Data Types String - Sequence of characters. Must be in quotes or backticks Number - Integers as well as floating-point numbers Boolean - Logical entity / true or false Null - Intentional absence of any object value Undefined - A Variable that has not yet been defined / assigned Symbol - Built-in object whose constructor returns a unique symbol BigInt - Numbers that are greater than the.. 더보기
What is JavaScript? What is JavaScript? JavaScript is one of the core technologies of the web, alongside HTML&CSS It is a high-level, interpreted programming language that can be used on the client side as well as server-side with Node.js What is JavaScript Used For? Dom(Document Object Model) Manipulation Event Handling Asynchronous Requests Animations & Effects Data Manipulation(Sorting, flitering, etc) Storing D.. 더보기
#3.4 Android Custom RecyclerView Adapter example. Android Kotlin Tutorial. package ifool.kr.msgshareapp import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import kotlinx.android.synthetic.main.lists_item.view.* class HobbiesAdapter(val context: Context, val hobbies: List): RecyclerView.Adapter(){ inner class MyViewHolder(itemView: View) : RecyclerView... 더보기
#3.3 Android Model Class using Data Class of Kotlin. Android Kotlin Tutorial class Model { } data class Hobby(var title:String) object Supplier { val hobbies = listOf( Hobby("Swimming"), Hobby("Reading"), Hobby("Walking"), Hobby("Sleeping"), Hobby("Swimming") ) } youtu.be/bfPBa8cLqqg 더보기