1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-08-15 15:50:34 +03:00

Strict mode forbids implicit creation of global property (#14411)

This commit is contained in:
Annamalai 2016-08-04 12:17:44 +05:30 committed by Ariya Hidayat
parent 95fdce45b9
commit 915b69224d

View File

@ -13,7 +13,7 @@ if (system.args.length !== 2) {
var port = system.args[1];
service = server.listen(port, function (request, response) {
var service = server.listen(port, function (request, response) {
console.log('Request received at ' + new Date());
response.statusCode = 200;