Which is the erroneous line of code in the below code snippet?

1. export class Login extends PolymerElement {

2. static get template () {

3. return html`

4. //html code

5. `;

6. }

7. static get properties () {

8. return {

9. prop1: {

10. type: String,

11. value: '10'

12. }};}}

13. window.customElements.define('my-login', Login);

line 1
line 10
line 11
no error
Verified Answer
Correct Option - d

To get all Infosys Certified Polymer JS Professional Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram