src/pages/tabs/home/home.ts
@@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; declare function eval(s: string): any; @IonicPage({ name: 'home' @@ -16,7 +16,6 @@ test() { let fun = "() => console.log('test');"; eval(fun); } ionViewDidLoad() {