标签: javascript
console.log(someObj.name); <=如何正确执行此操作,因为它不起作用
const test = (name) => { const someObj = {jonas : 'some value'} console.log(someObj.name); //here is the problem } test('jonas')