233k views
5 votes
Looking at the code below, what would be the width of the game screen? sjs.open("target", 800, 600);

User Freefrog
by
7.3k points

1 Answer

2 votes

Final answer:

The code snippet you provided is written in JavaScript and the width of the game screen is determined by the second parameter in the sjs.open() function. In the given code, the width of the game screen would be 800 pixels.

Step-by-step explanation:

The code snippet you provided is written in JavaScript and it seems like a part of a game development project. The width of the game screen is determined by the second parameter in the sjs.open() function. In the given code, the width of the game screen would be 800 pixels.

User Donovan Voss
by
7.6k points