Merge branch 'master' into fixAPISampleTests

This commit is contained in:
Mohamed Hegazy
2018-06-13 11:14:22 -07:00
21 changed files with 2183 additions and 28 deletions

View File

@@ -0,0 +1,19 @@
// @noEmit: true
// @allowJs: true
// @checkJs: true
// @strict: true
// @Filename: a.js
/** @this {{ n: number }} Mount Holyoke Preparatory School
* @param {string} s
* @return {number}
*/
function f(s) {
return this.n + s.length
}
const o = {
f,
n: 1
}
o.f('hi')