function valid_computables (scope) {
  var computable_count = scope.get_computable_count();
  for (var i = 0; i < computable_count; i++) {
    var computable = scope.get_computable(i);
    if (computable.is_immovable()) {
      return false;
    }
    if (scope.is_input(computable) && scope.is_output(computable)) {
      return false;
    }
  }
  return true;
}
/**
 * Check if scope modifies the environment, or if any computables
 * are both inputs and outputs, which is not currently supported.
 * Also blacklist event handlers, since click events and elements
 * passed to them will have different meaning in a new scope.
 *
 * @returns {boolean}
 */
Check if scope modifies the environment, or if any computables
are both inputs and outputs, which is not currently supported.
Also blacklist event handlers, since click events and elements
passed to them will have different meaning in a new scope.

@returns {boolean}
Check if scope modifies the environment or if any computables are both inputs and outputs which is not currently supported . Also blacklist event handlers since click events and elements passed to them will have different meaning in a new scope . @returns { boolean }
function valid_computables (scope) {
  var computable_count = scope.get_computable_count();
  for (var i = 0; i < computable_count; i++) {
    var computable = scope.get_computable(i);
    if (computable.is_immovable()) {
      return false;
    }
    if (scope.is_input(computable) && scope.is_output(computable)) {
      return false;
    }
  }
  return true;
}
function valid_computables ( scope ) { var computable_count = scope . get_computable_count ( ) ; for ( var i = 0 ; i < computable_count ; i ++ ) { var computable = scope . get_computable ( i ) ; if ( computable . is_immovable ( ) ) { return false ; } if ( scope . is_input ( computable ) && scope . is_output ( computable ) ) { return false ; } } return true ; }
Check if scope modifies the environment, or if any computables
 are both inputs and outputs, which is not currently supported.
Check if scope modifies the environment or if any computables are both inputs and outputs which is not currently supported .