planetproto
Version:
A Workshop for understanding JavaScript prototypes
13 lines (10 loc) • 324 B
JavaScript
// -> Create an object called 'robot' using an object literal
// -> robot should have a property 'smart' with value true
__
// -> Claim the result robot.smart
claim(robot.smart, __);
// ------------------------------------------------
// Common JS exports for verification, don't modify
module.exports = {
robot: robot
}