TypeScript/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js
2014-07-12 17:30:19 -07:00

10 lines
321 B
JavaScript

//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]
var regexMatchList = ['', ''];
regexMatchList.forEach(match => ''.replace(match, ''));
//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
var regexMatchList = ['', ''];
regexMatchList.forEach(function (match) { return ''.replace(match, ''); });