练习

    请利用循环遍历数组中的每个名字,并显示 Hello, xxx!

    'use strict';

    var arr = ['Bart', 'Lisa', 'Adam'];

    请尝试 for 循环和 while 循环,并以正序、倒序两种方式遍历。