javascript - Why does a function in the form [string](a,b,c){...} report an error?
phpcn_u1582
phpcn_u1582 2017-05-19 10:39:19
0
2
557

I want to implement a tab and call the corresponding interface (already packaged) based on the value of the tabIndex passed in

But an error occurred:

Is this way of writing wrong?

phpcn_u1582
phpcn_u1582

reply all(2)
过去多啦不再A梦

this[getData]

仅有的幸福

However, I thought of a way, first write the function into methods, and then use this[getData] and it works

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!