js
2022. 5. 20. 17:41
[js]array 배열 기초
See the Pen array 기초 by sangmok-ye (@sangmok-ye) on CodePen. let array = [ {"name":"제품명1","unit":"단가1"}, {"name":"제품명2","unit":"단가2"}, {"name":"제품명3","unit":"단가3"}, {"name":"제품명4","unit":"단가4"}, ] console.log(array[i].name) /* ========================================= */ let array= [ "제품명1", "제품명2", "제품명3", "제품명4", ] console.log(array[i]) php 배열 추출 explode() $str = "hi hello bye" $array = explod..
top