Answer the question
In order to leave comments, you need to log in
Opening and calling functions from node js array?
I have an array of view objects
[ { fname: 'функ1', libname: 'contract' } ]
[ { fname: 'функ2', libname: 'contract' } ]
export const contract: ValidationFunction[] = [
{
fname: "функ1",
func: (contract) => {
console.log('1);
}
},
{
fname: "функ2",
func: (contract) => {
console.log('1)
}
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question