下列程序的輸出是:()。
function Ball() {
}
Ball.prototype = {
colors:['green','yellow']
}
var ball1 = new Ball()
var ball2 = new Ball()
ball1.colors.push('blue')
console.log(ball2.colors)
A.[’green,’yellow’]
B.[’green,’yellow’,’blue’]
C.undefined
D.以上都不對