因此,我试图为调用对象的forEach语句编写崇高文本3的片段。
//what I have written at the point where the snippet is triggered
myObject.forEa
// what should appear after triggering the snippet
Array.prototype.forEach.call(myObject, function(){
})
这里的问题是如何在代码段的正则表达式中捕获myObject,以便在编写代码片段时重用它。
到目前为止,我有一个正则表达式,它可以捕获任何适合作为我需要的myO