,
1.实现以下方法
function timeFun(时间间隔分,开始时间)
timeFun (5, 2020-04-01 00:00)
结果 [‘00:00’,‘00:05’,‘00:10’] 返回10条数据
2.给出两数组arr1,arr2,最后实现为newArr的结果
newarr = [
{ time: '10:00',value: '1-1',value1: '2-1'}
{ time: '10:02',value: '1-3',value1: '2-2'}
]
const arr1 = [
{ time: '10:00', value: '1-1'},
{ time: '10:01', value: '1-2'},
{ time: '10:02', value: '1-3'}
]
const arr2 = [
{ time: '10:00', value: '2-1'},
{ time: '10:02', value: '2-2'},
{ time: '10:04', value: '2-3'}
]
3.给出两数组a,b,最后实现结果
[
{id:'1',"checkList":["1121"]},
{id:'2',"checkList":["3322,3321"]}
]
var a = [
{id:'1', 'checkList':[]},
{id:'2', 'checkList':[]},
{id:'3', 'checkList':[]},
var b = [
{id:'1',"checklist":"1121"},
{id:'2',,"checklist":"3322,3321"},
];
4.网络协议有几层 http在那层
5.vue 实现添加 删除方法;
删除
添加