const Row = ({ index, style }) => (
<div style={style}>Row {index}</div>
);
const circle = [
{... },
{... }
];
const else = [
{... },
{... }
];
circle[0][`${this.currentMaterial} ${this.currentCut}`]
const arr = [
{a: 1, b: 2, c: 3}
]
for (let i = 1; i < 4; i++) {
arr.push({...arr[0]})
}
console.log(arr)
const arr = [
{a: 1, b: 2, c: 3}
]
arr.push(...[{...arr[0]}, {...arr[0]},{...arr[0]}])
arr[1].d = 4
console.log(arr)
const arr = [
{a: 1, b: 2, c: 3}
]
arr.push(...[arr[0], arr[0],arr[0]])
arr[1].d = 4
console.log(arr)
fetchWeather: (e) => {
то this тоже не тот что нуженfetchWeather(e) {
let data = app.data()
if (e.key == "Enter") {
const example = [{val: 1}, {val: 2}, {val: 3}];
const item = example[0];
console.log(item)
item.key = 1
console.log(example);
example[0] = {val: 8}
console.log(item)
console.log(example);
const Second = (props) => {
const array = props.array;
return (...)
}
const Second = (props) => {
const {array} = props;
return (...)
}
{
"kind": "youtube#videoGetRatingResponse",
"items": [
{
"videoId": "QnOyWe2EnDw",
"rating": "like"
}
]
}