TypeScript/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js

10 lines
321 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]
var regexMatchList = ['', ''];
regexMatchList.forEach(match => ''.replace(match, ''));
//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
var regexMatchList = ['', ''];
regexMatchList.forEach(function (match) { return ''.replace(match, ''); });