This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27906 - "If validThis is false, then return."
Summary: "If validThis is false, then return."
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 11:28 UTC by Ms2ger
Modified: 2015-07-07 06:20 UTC (History)
2 users (show)

See Also:


Attachments

Description Ms2ger 2015-01-27 11:28:41 UTC
https://heycam.github.io/webidl/#dfn-attribute-setter

[[
If validThis is false, then return.
]]

In JS, you always return something: in this case, undefined.

Also in the next step.