单项选择题

执行以下代码,alert的输出结果为()
var msg = 'hello';for (var i = 0; i< 10; i++){ var msg = 'hello' + i * 2 + i;}alert(msg);

A.hello
B.hello189
C.hello30
D.hello27