Bug 464805 - JSON style private function to public function
Summary: JSON style private function to public function
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL: http://stackoverflow.com/questions/29...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 10:35 EDT by Peter CLA
Modified: 2015-04-16 10:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter CLA 2015-04-16 10:35:19 EDT
01 function MyFunction() {
02   var self = this;
03   function getSelf() {
04     return self;
05   }
06   return {
07     // getThis1 : getSelf,
08     getThis2 : +getSelf
09   };
10 }

Line 07 will cause a "locale variable is never read" warning.