W3cubDocs

/Angular 2

wtfLeave

Experimental Const

Variable Export

export wtfLeave

Used to mark end of Scope.

  • scope to end.
  • returnValue (optional) to be passed to the WTF.

Returns the `returnValue for easy chaining.

exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/wtfLeave-let.html