我一直收到这个错误,但我无法找出导致错误的原因。
//getting an error on the bootstrap import
//because the angular2 folders aren't there because there is no node
import {bootstrap} from 'angular2/platform/browser'
import {AppComponent} from './components/app.component.ts'
bootstrap(AppComponent);
这是我想要运行的JavaScript。它在Android Studio和Java中:
"Uncaught SyntaxError: missing ) after argument list"
答案 0 :(得分:0)
这应该有效:
"javascript: var y = document.querySelector('#login-form [type=\"submit\"]');
y.click();"