error: 'implements', 'interface', 'let', 'package', 'private', 'protected', 'public', 'static', or 'yield' cannot be used as an identifier in strict mode
--> invalid.js:3:10
|
3 | function yield() {
| ^^^^^
@retep007 It might be a good idea for you to check first if your school will allow that.
Failure to do so runs the risk of resulting in charges of fraud or cheating.