JavaScript 2 assignment done