详细

你可能不了解的js

js基础篇

const options = {};
(options.methods || (options.methods = {}))['name'] = 'test';