blob: dc963a20cfcdb42ab154fc9ae14be75318d24d05 [file] [log] [blame]
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: >
Hashbang comments should be available in Script evaluator contexts. (direct eval)
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
features: [hashbang]
---*/
assert.sameValue(eval('#!\n'), undefined);
assert.sameValue(eval('#!\n1'), 1)
assert.sameValue(eval('#!2\n'), undefined);