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

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Wed, 3 Dec 2025