Modified: 2022.04.26
for loopμμ counting λͺ©μ μΌλ‘ μ¬μ©λλ λ΄μ©μ μ μΈνκ³ λ νκΈμ λ³μ μ¬μ©μ μ격ν κΈμ§νλ€.
λ°°μ΄ ν¨μμμμ μΈμκ°μ aItem
, bItem
, cItem
, ... μμΌλ‘ μμ±νλ€.
sFooList.map((aItem) => {
return sBarList.find((bItem) => aItem.id === bItem.id);
});
<aside> π« prefixκ° λΆμ΄μ 2κΈμλ‘ λλ κ²½μ°λ μ¬μ© κΈμ§νλ€.
ex) gG, sD, ...
</aside>
Modified: 2022.04.27
Name | Prefix | Action (A) | High context (HC) | Low context (LC) |
---|---|---|---|---|
getUser | get | User | ||
getUserMessages | get | User | Messages | |
shouldDisplayMessage | should | display | Message | |
isPaymentEnabled | is | enabled | Payment |
λ§μΌ λ³μμ μ΄λ¦μμ Context μ λ³΄κ° 3κ° μ΄μ λμ΄λλ€λ©΄, μλν κ² μ΄μμ scopeλ‘ μλͺ» μ€μ μ΄ λμ΄μ, μ¬μ©μ²μ λ°λ₯Έ λΆλ¦¬κ° νμν νλ₯ μ΄ λλ€.
λ³μμ μ΄λ¦μ λͺ¨λ μμΉμμ μμλ³Ό μ μλλ‘ μλ©ν±νκ² μμ±νλ κ²μ΄ μλΒ ν΄λΉ μ»΄ν¬λνΈ λ΄λΆμμ μμλ³Ό μ μλ€λ©΄ μ΅λν κ°κ²°νκ² μμ±νλ€.
Modified: 2022.04.27
λ³μλͺ κ³Ό κ°μ ν¬λ§·μ μ μ§νλ, ν¨μ λ΄λΆμμ νν΄μ§λ λ‘μ§μ΄ ν¨μ μ΄λ¦μ μλ―Έμ λμΌνλλ‘ μμ±νλ€.